[C#]
// Loads an assembly using its file name.
Assembly a = Assembly.LoadFrom ("MyExe.exe");
// Gets the type names from the assembly.
Type [] types2 = a.GetTypes ();
foreach (Type t in types2)
{
Console.WriteLine (t.FullName);
}
Ad
Search This Blog
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment