I'd like to output (programmatically - C#) a list of all classes in my assembly.
Any hints or sample code how to do this? Reflection?
Use Assembly.GetTypes
. For example:
Assembly mscorlib = typeof(string).Assembly;
foreach (Type type in mscorlib.GetTypes())
{
Console.WriteLine(type.FullName);
}