public class DbConnector { public static void method() { Type t = this.GetType(); // Will not work, since this is not allowed } }