using System;
using System.ComponentModel;
//csc reflection_assembly1.cs
using System.Reflection;
namespace ConsoleApplication1
{
class MainClass
{
public static void Main(string[] args)
{
Assembly a = Assembly.LoadFrom("test1.exe");
// Get the type names from the assembly.
Type[] types2 = a.GetTypes();
foreach (Type t in types2)
{
Console.WriteLine(t.FullName);
}
}
}
}