How to Create a stack from a collection in C#
Loading
How to Create a stack from a collection in C#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajeev KumarPosted Mar 14, 2023, 7:48 AM
Brahma Prakash ShuklaPosted Nov 6, 2022, 7:05 AM
https://www.tutorialsteacher.com/csharp/csharp-stack
Rijwan AnsariPosted Nov 4, 2022, 2:01 AM
Stack represents a last-in, first out collection of object. It is used when you need a last-in, first-out access to items. When you add an item in the list, it is called pushing the item and when you remove it, it is called popping the item. This class comes under System.Collections namespace.
https://www.geeksforgeeks.org/c-sharp-stack-class/
Satya KarkiPosted Nov 4, 2022, 1:56 AM
Hi,
Represents a simple last-in-first-out (LIFO) non-generic collection of objects.
Example:
https://learn.microsoft.com/en-us/dotnet/api/system.collections.stack?view=net-6.0
Rajanikant HawaldarPosted Nov 3, 2022, 5:05 PM
https://www.c-sharpcorner.com/UploadFile/c25b6d/working-on-stack-using-C-Sharp/