Is it really downcasting not possible? It is working fine for me
问题 I know there are already some questions posted related to this same topic, but I have seen different answers so I am quite confused on which answer is correct. On the below link, people mentioned that downcasting is not possible Convert/Cast base type to Derived type While on this link below, people mentioned that downcasting is possible only if the derived class is an instance of the base class downcast and upcast I did a little experiment and implemented the downcasting on a mini project(C#