using System; class MainClass { public static void Main(string[] args) { System.UInt16 myUInt16 = 30000; Console.WriteLine("Your value is: {0}", myUInt16.ToString()); Console.WriteLine("I am a: {0}", myUInt16.GetType().ToString()); } }
Your value is: 30000 I am a: System.UInt16