System.Collections.Stack Class
Information   Base Types   Related Resources

Represents a simple last-in-first-out collection of objects.

  • Namespace: System.Collections
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: mscorlib.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (10)Discussions (25)MembersRotorChanges
    Articles

    Page: 1
    C# Stack Demo
    C# Help
    This is a sample application demonstrating the use of the Stack Class. Data is added and removed from the stack in the order the elements were inserted.
    Common .NET Libraries for Developers
    MSDN
    Identifies and defines many of common namespaces that you will use when developing .NET applications, and provides examples of the most common classes and methods in those namespaces.
    Doing Collections with Inheritance
    MSDN
    I've heard Microsoft® Visual Basic® 6.0 developers say things like "Well, I don't really need inheritance in my object designs." They wonder why getting inheritance in Microsoft® Visual Basic® .NET is such a big deal. I think many of these developers have really needed inheritance all along—they just didn't realize it. To see why, let's look at how collections are managed in Visual Basic 6.0, and then how things change in Visual Basic. NET. I should first point out that if you don't use collections in your object designs, then you are not really using object orientation in depth. It's probably appropriate for you to invest some more time in object-oriented philosophy, because that understanding is central to using .NET most effectively.
    Gozer the Destructor
    MSDN
    Of all the topics that trouble C++ programmers who consider C#, probably the most volatile is C#'s lack of true synchronous or deterministic destructors.
    How to use the Stack, Queue, StringCollection, and StringDictionary
    Edward's Web Developer Site
    This code shows how to use the basic collections and lists.
    Implementing Stacks in C#
    C# Corner
    With the help of C# we can also implement ADT (Abstract Data Types) with little effort. An example of ADT is a simple stack of integers. You can imagine stack like a placeholder where you can save something and later on retrieve in what so called LIFO (Last In First Out) fashion.
    Implementing XmlReader Classes for Non-XML Data Structures and Formats
    MSDN
    Developers can create a notation for any data structure using only elements and attributes, and can access any data structure with an XmlReader or XmlDocument—as long as they can "translate" it to XML.
    Modularizing Object Collections With The Collections API
    C#Today
    The Collections API in the .NET Framework merits close attention by all .NET developers because of the flexibility it offers for writing applications in .NET. We can use it to manage groups or collections of similar objects, standardizing the way in which groups of objects are handled by our programs. In this article, Thiru Thangarathinam takes us through a tour of all the important collection classes by showing us examples, and then goes on to show us how these collection classes can be very useful in the day-to-day work of a developer.
    Simple Stack Implementation
    C# Help
    Using System.Collections.Stack
    .NET Xtreme
    A Stack is a data structure where elements are put in from an end and taken out from the same. It represents a LIFO List i.e Last In First Out list. The first element is the last to be taken out or processed where as the last to go in is the first to come out. In C# we have a class from in the Collection namespace called the Stack class to implement this data structure
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com