Typecasting does not change the nature of the object, it only changes your idea of ββthe object. When you assign a type to a base type, you view the object through a filter that can only see elements defined in the base type, regardless of what else is defined in the actual object.
When you return an object from a web service call, this is the actual object that will be serialized and sent back through the wire - all of its serializable elements.
, , Question API-, , Question. .NET , XmlSerialization, , Question [XmlIgnore], XmlSerialization. , .
-API-. BaseQuestion Question . , , , , .
, BaseQuestion temp var, Question temp temp. , , .