public static void Main(string[] args) { Console.WriteLine("Hello World!"); //Cat cat = new Cat("Kisik", 24, "white", 12); //Console.WriteLine(cat.Name); //cat.Name = "Kisik"; //cat.LengthTail = 12; //cat.Weight = 24; //cat.Color = "white"; Person evgeny = new Person("Evgeny"); Person alimar = new Person("Alimar"); ChangeRequest c1 = new FeatureRequest( "Volume knob shoud go to eleven", "It's one louder", evgeny, alimar); ChangeRequest c2 = new DefectFixRequest( "Power switch can electrocute user", "Very dangerous", evgeny, alimar); ChangeRequest c3 = null; FeatureRequest f1 = (FeatureRequest)c1; FeatureRequest f2 = (FeatureRequest)c2; FeatureRequest f3 = (FeatureRequest)c3; if (c1 is FeatureRequest) { FeatureRequest f = (FeatureRequest)c1; Console.WriteLine(f.RequestedBy.Name); } }