Get the Type representation : Type : Reflection C# Examples


C# Examples » Reflection » Type »

 

Get the Type representation









    
using  System;
using  System.Collections.Generic;
using  System.Text;
using  System.Threading;
using  System.Reflection;
using  System.Reflection.Emit;

public  class  MainClass
{
        public  static  void  Main()
        {
                Type  typeInfo  =  typeof(object);
                MethodInfo  methInfo  =  typeInfo.GetMethod("ToString");
                Console.WriteLine("Info:  {0}",  methInfo);

        }
}
    
   
  
   



Output

Info: System.String ToString()


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Reflection
» Type