new List() Add(assembly1) Indexer : List : Collections Data Structure C# Source Code


Custom Search

C# Source Code » Collections Data Structure » List »

 

new List() Add(assembly1) Indexer








    
 
 
 
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");

        List<AssemblyName> assemblyList = new List<AssemblyName>();
        assemblyList.Add(assembly1);
        AssemblyName ass2 = assemblyList[0];
        Console.WriteLine("\nFound AssemblyName in list: {0}", ass2);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Collections Data Structure
» List