C# Inheritance question
I have created two classes, class A, and class B (B inherits A and behaves
differently). I then create an instance of class A in application scope,
and throughout program execution / usage various other objects are created
and are set to point to the instance of class A. I then want to re-create
class A as a new instance of class B and have all references that are pointing
to the old instance of A update and point to the new instance of B. I could
do this in C++ easily enough with pointers, simply change the object at the
memory address, but I am unsure of how to do a similar operation in C# using
reference types.
Any suggestions?
Thanks,
Jeff

