class A { int x; } class B : A { int y; }
Object a = new A(); Object b = (B)a;
Login in to like
Login in to comment
or Read more about C# Quizzes
Login in to like
Login in to comment