public class emailMsg : Msg { string email; }
Msg^ msg = gcnew Msg(); if (msg is emailMsg) { //DO SOMETHING }
dynamic_cast<T^>(expression)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)