Microsoft 365
ITPro Today logo
Microsoft 365Upcast base to derived classUpcast base to derived class
In a recent project, I had a need to upcast from a base class to a derived class. Below I describe the problem and the conditions where the upcast works.Consider that there is a method,
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.