R
René Nordby
Hi there,
Is there anyone that knows how to do the following?
I have a class A and a class B, that 100% inherits from class A (this means
that I don't have other code in class B, than the Inherit statement).
Now I want to make a Type Casting on an object of the type A, so that object
become a B type.
I have tryied it, but gets the error 'System.InvalidCastException: Specified
cast is not valid.', so want am I missing.
Please give a hint.
René
Is there anyone that knows how to do the following?
I have a class A and a class B, that 100% inherits from class A (this means
that I don't have other code in class B, than the Inherit statement).
Now I want to make a Type Casting on an object of the type A, so that object
become a B type.
I have tryied it, but gets the error 'System.InvalidCastException: Specified
cast is not valid.', so want am I missing.
Please give a hint.
René