Boxing makes it possible to call methods on a value! : Boxing Unboxing : Data Type C# Examples


C# Examples » Data Type » Boxing Unboxing »

 

Boxing makes it possible to call methods on a value!









    
using  System;  
  
class  MainClass  {  
    public  static  void  Main()  {  
  
        Console.WriteLine(10.ToString());  
  
    }  
}
    
   
  
   



Output

10


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Type
» Boxing Unboxing