Non-Generic Stack in C# | Non-Generic Queue in C# | Collection Framework in C #



Non-Generic Stack in C# | Non-Generic Queue in C# | Collection Framework in C #

Non-Generic Stack in C# | Non-Generic Queue in C# |  Collection Framework in C #

Non-Generic Stack Collection Class in C# with Examples

In this article, I am going to discuss the Non-Generic Stack Collection Class in C# with Examples. Please read our previous article before proceeding to this article where we discussed the Hashtable Collection Class in C# with Examples. The Stack Collection Class in C# represents a Last-In, First-Out (LIFO) collection of objects. That means it is used when we need Last-In, First-Out access to the items of a collection. The Non-Generic Stack Collection Class in C# belongs to the System.Collections namespace. At the end of this article, you will understand the following pointers.

What is Stack in C# and how does it work?
Methods, Properties, and Constructor of Stack Class in C#
How to create a Stack Collection in C#?
How to Add Elements into a Stack in C#?
How to Remove Elements from a Stack in C#?
How to get the topmost element of a Stack in C#?
How to check whether an element exists or not in the stack in C#?
How to Clone the Non-Generic Stack Collection in C#?
How to copy a stack to an existing array in C#?
When to use Stack Collection in Real-time Applications in C#?

Non-Generic Queue Collection Class in C# with Examples
In this article, I am going to discuss the Non-Generic Queue Collection Class in C# with Examples. Please read our previous article where we discussed the Non-Generic Stack Collection Class in C# with Examples. The Non-Generic Queue Collection Class in C# represents a First-In, First-Out collection of objects. That means we need to use this collection when we need First-In, First-Out access to items of a collection. The Queue Collection Class belongs to the System.Collections namespace. At the end of this article, you will understand the following pointers.

What is a Queue in C#?
Methods, Properties, and Constructor of Non-Generic Queue Collection Class in C#
How to Create a Queue in C#?
How to Add Elements into a Queue in C#?
How to Remove Elements from the Queue in C#?
How to get the first element of the queue in C#?
How to check whether an element exists or not in the Queue in C#?
How to Clone the Non-Generic Queue Collection in C#?
How to Copy a Queue to an Existing Array in C#?

Chapter-9 Collections in C#

Non-Generic Stack in C#
Non-Generic Queue in C#

Text Document Links used in the Video:
Author : Pranaya Rout
Website : https://dotnettutorials.net/

Non-Generic Stack in C# : https://dotnettutorials.net/lesson/stack-collection-csharp/
Non-Generic Queue in C# : https://dotnettutorials.net/lesson/queue-collection-class-csharp/

#dotnettutorials #csharp #pranaya #dotnettutorialspranaya #CollectionInCSharp #CollectionInCSharpByDotNetTutorials #CollectionInCSharpByPranaya

#Collections #NonGenericStackinCSharp #NonGenericQueueinCSharp #NonGenericStackinCSharpByPranaya #NonGenericQueueinCSharpdotnettutorials