using System; using System.Reflection; enum MyEnum { Val1, Val2, Val3 } class MyClass { } struct MyStruct { } class MainClass { public static void Main(String[] args) { Assembly a = Assembly.LoadFrom (args[0]); Type[] types = a.GetTypes(); foreach (Type t in types) { Console.WriteLine ("Name: {0}", t.FullName); Console.WriteLine ("Namespace: {0}", t.Namespace); Console.WriteLine ("Base Class: {0}", t.BaseType.FullName); } } }