public static void DoSomething() { Console.WriteLine(typeof(CC).Name); CD.DoSomething(); CF.DoSomething(); }