stack
Using the Stack class in .NET Part 3 – Peek and pop elements in the stack
Finally let’s peek and pop elements from our newly created stack. As you can see you popped the last item of the stack which made so you could peek on the second added item. Great work! Now go ahead and create some Stacks!
1 min read
Using the Stack class in .NET Part 2 – Push strings into the stack
Now let’s push some strings into the stack! There we go! In the next post we’ll Peek and pop elements in our stack.
1 min read
Using the Stack class in .NET
Create the stack Push strings into the stack Peek and pop elements in the stack
1 min read
Using the Stack class in .NET Part 1 – Create the stack
Let’s follow this documentation from Microsoft here. First we create the Stack. Great! In the next post we’ll push some strings into the stack.
1 min read
You must be logged in to post a comment.