Obtain type information using the Object.GetType method : Type : Reflection C# Examples


C# Examples » Reflection » Type »

 

Obtain type information using the Object.GetType method









    
using  System;
using  System.Text;

class  MainClass
{
        public  static  void  Main()
        {
  
                StringBuilder  sb  =  new  StringBuilder();
                Type  t6  =  sb.GetType();
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Reflection
» Type