K
Keith Patrick
If I have a class: BaseObject<T>, is there some way to generically say:
if (myObj is BaseObject) without the type parameter? Using
BaseObject<Object> won't work because the runtime insists that the derived
type literally be BaseObject<Object> and not
BaseObject<anyderivativeofObject>.
if (myObj is BaseObject) without the type parameter? Using
BaseObject<Object> won't work because the runtime insists that the derived
type literally be BaseObject<Object> and not
BaseObject<anyderivativeofObject>.