new Stack()) : Stack : Collections Data Structure C# Source Code


Custom Search

C# Source Code » Collections Data Structure » Stack »

 

new Stack())








    
 

using System;
using System.Reflection;
using System.Collections.Generic;

class MainClass {
    public static void Main(string[] args) {

        AssemblyName assembly1 = new AssemblyName("com.microsoft.crypto, Culture=en, PublicKeyToken=a5d015c7d5a0b012, Version=1.0.0.0");

        Stack<AssemblyName> assemblyStack = new Stack<AssemblyName>();
        assemblyStack.Push(assembly1);
        AssemblyName ass3 = assemblyStack.Pop();
        Console.WriteLine("\nPopped AssemblyName from stack: {0}", ass3);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Collections Data Structure
» Stack