public static void iAmPrinting(Ispitanie isp) { Console.WriteLine(isp.GetType()); Console.WriteLine(isp.ToString()); }