Autobox and unbox long value : Long box unbox : Data Type C# Examples


C# Examples » Data Type » Long box unbox »

 

Autobox and unbox long value









    
using  System;

class  MainClass
{
        static  void  Main(string[]  args)
        {
                long  MyLong  =  10051234;
                object  MyObject  =  MyLong;
                long  MyLong2  =  (long)MyObject;
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Long box unbox