create instance of class given class name string csharp

Code Example - create instance of class given class name string csharp

                
                        public object GetInstance(string strFullyQualifiedName)
{         
     Type t = Type.GetType(strFullyQualifiedName); 
     return  Activator.CreateInstance(t);         
}