Let the object answerintermediate
A switch on a type must be edited every time a type is added, and there is always more than one of them; asking the object instead means a type invented tomorrow works in code written today.
Console.WriteLine(efua) prints "Child". Make it print the child — with each class formatting only its own part.
Three ToString overrides, each formatting its own part, with private fields.
Published in full, before you start — every point is one of these and there is nothing else.
A switch on a type must be edited every time a type is added, and there is always more than one of them; asking the object instead means a type invented tomorrow works in code written today.
A method that mostly reads another object’s data belongs on that object; ask an object to act rather than for its parts, and each class keeps one reason to change.
A virtual method is chosen by the object at run time through a table each object points to; a non-virtual one — including one declared new — is fixed by the variable’s type when the code compiles.
If a caller can reach the data, every rule you wrote about it is optional — and a getter that hands back the real array is the most common way that happens.