Please visit DEMANDDRAFT.SHOP for quality of products...

Ad

Search This Blog

Wednesday, December 26, 2012

Viewing Reflection information


[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);
}

No comments:

Post a Comment