int i=20; Console.WriteLine("This is an {0} value: {1}" , i.GetTypeCode(), i); 输出结果:This is an int32 value: 20