ushort value : Ushort : Data Type C# Examples


C# Examples » Data Type » Ushort »

 

ushort value









    
using  System;

class  MainClass
{
        public  static  void  Main(string[]  args)
        {
        ushort  myOtherUInt16  =  12000;
        Console.WriteLine("Your  value  is:  {0}",  myOtherUInt16.ToString());
        Console.WriteLine("I  am  a:  {0}\n",  myOtherUInt16.GetType().ToString());
        }

}
    
   
  
   



Output

Your value is: 12000
I am a: System.UInt16


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Ushort