using System; using System.Reflection; using System.Globalization; class MainClass { public static void Main(){ Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies(); foreach (Assembly a in assemblies) { Console.WriteLine(a.GetName()); } } }
mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 main, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null