110,536
社区成员
发帖
与我相关
我的任务
分享
namespace Test
{
internal class MyClass
{
public MyClass() { }
}
class MyTest
{
public static int Main(string[] args)
{
Assembly asm = Assembly.GetExecutingAssembly();
Type[] types = asm.GetTypes();
foreach(Type type in types)
Console.WriteLine(String.Concat(type.Name,":\t",type.IsPublic);
}
}
}