How to copy this class if it contains the same base class as the one I am assigning to?
<pre><code>class ClassA
{

}

class ClassB : ClassA
{
    // it has its set of properties
}

class ClassC : ClassA
{

}


ClassB b = Factory.LoadB();

ClassC c = b as ClassA;  // doesn't work
</code></pre>

<p>is it possible to initiaze the instance c with the values from b?  i.e. initialize it so that all the properties from ClassA are set?</p>
