Initializes a new instance of the AssemblyName class with the specified display name.
using System;
using System.Reflection;
public class AssemblyNameDemo
{
public static void Main()
{
AssemblyName myAssemblyName = new AssemblyName("Example, Version=1.0.0.2001, Culture=en-US, PublicKeyToken=null");
Console.WriteLine("Name: {0}", myAssemblyName.Name);
Console.WriteLine("Version: {0}", myAssemblyName.Version);
Console.WriteLine("CultureInfo: {0}", myAssemblyName.CultureInfo);
Console.WriteLine("FullName: {0}", myAssemblyName.FullName);
}
}
Related examples in the same category