H
HelgeS
I want to determin if objectA is of the same type as
objectB, or is inherrited from the same type.
I hav tried something like
Type objectAType = objectA.GetType();
if(objectB is objectAType)
....
That does not work, because the "is" statement requires a
class name and not a object of type "Type".
Any suggestions?
HelgeS
objectB, or is inherrited from the same type.
I hav tried something like
Type objectAType = objectA.GetType();
if(objectB is objectAType)
....
That does not work, because the "is" statement requires a
class name and not a object of type "Type".
Any suggestions?
HelgeS