unsigned shorts : short : Data Types C# Source Code


Custom Search

C# Source Code » Data Types » short »

 

unsigned shorts








    
 

using System;
using System.Collections.Generic;
using System.Text;

class Program {
    static void Main(string[] args) {
        System.UInt16 myUInt16 = 30000;
        Console.WriteLine("Max for an UInt16 is: {0} ", UInt16.MaxValue);
        Console.WriteLine("Min for an UInt16 is: {0} ", UInt16.MinValue);
        Console.WriteLine("Value is: {0} ", myUInt16);
        Console.WriteLine("I am a: {0} ", myUInt16.GetType());

    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Data Types
» short