George George
Hello everyone,
typeof operator gets the exact type of a variable. My purpose is to check whether the
type of a variable derives from a specific base class, any ideas of how to use typeof to
solve this issue? Or using some other solution other than using typeof?
thanks in advance,George
The following link may help you for this, it even includes an example that is more or less similar to what you aim to do:
http://msdn.microsoft.com/en-us/library/system.object.gettype.aspx
Hope that helps.
-Mamta