typeof

Type t = typeof(SampleClass);
      // Alternatively, you could use
      // SampleClass obj = new SampleClass();
      // Type t = obj.GetType();
原文地址:https://www.cnblogs.com/greencolor/p/1570459.html