C# Reflection
获取变量类型
int i = 42;
System.Type type = i.GetType();
System.Console.WriteLine(type);
获取 assembly meta
System.Reflection.Assembly info = typeof(System.Int32).Assembly;
System.Console.WriteLine(info);
获取变量类型
int i = 42;
System.Type type = i.GetType();
System.Console.WriteLine(type);
获取 assembly meta
System.Reflection.Assembly info = typeof(System.Int32).Assembly;
System.Console.WriteLine(info);