Call GetType for int data type : Type : Reflection C# Source Code


Custom Search

C# Source Code » Reflection » Type »

 

Call GetType for int data type








    
 
using System;
using System.Reflection;
   
class TypeObjectFromInstanceApp
{
    public static void Main(string[] args)
    {
        int i = 6;
        Type type = i.GetType();
        Console.WriteLine(type.Name);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Reflection
» Type