Nullable Types Access : Nullable : Data Type C# Examples


C# Examples » Data Type » Nullable »

 

Nullable Types Access









    
using  System;

class  MainClass
{
      static  void  Main()
      {
            int?  nullableInteger  =  15;
          
            if  (nullableInteger  !=  null)
                  Console.WriteLine("{0}",  nullableInteger);
      }
}
    
   
  
   



Output

15


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Nullable