For this purpose we’ll use a simple queue but there are many other options in creating a log feature. First create the Queue. Now update the Balance property to log when the value is set. Finally we’ll create a method to return the log when called. Let’s jump back into the program and add a […]
Now it’s time to read from our queue. Time to run the app! Great! Now add a peek to the queue and run the app again.