static void Main(string[] args) { Child child = new Child(); Console.WriteLine(child.IdToString()); Console.WriteLine(child.IdToString()); Console.WriteLine(); ChildChild childChild = new ChildChild(); Console.WriteLine(childChild.IdToString()); Console.WriteLine(childChild.IdToString()); Console.ReadKey(); }