Me As Child Type
- by Steven
I have a MustInherit Parent class with two Child classes which Inherit from the Parent.
How can I use (or Cast) Me in a Parent function as the the child type of that instance?
EDIT: My actual goal is to be able to serialize (BinaryFormatter.Serialize(Stream, Object)) either of my child classes. However, "repeating the code" in each child "seems" wrong.