class Program
{
static StringBuilder sb = new StringBuilder();
static void Main(string[] args)
{
Type t4 = typeof(double);
Analyze(t4);
MessageBox.Show(sb.ToString(), "Analyze of type is " + t4.Name);
}
private void Analyze(Type t5)
{
AddToSb("TypeName:" + t5.Name);
AddToSb("MemberType" + t5.MemberType);
AddToSb("ReflectType:" + t5.ReflectedType);
}
static void AddToSb(string Text)
{
sb.Append("\n"+Text);
}
}