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:
Related in same category :
-
-
-
-
-
-
|