I came across these lines of code
ClassA classAObject;
//some lines of code that hydrate 'classAObject'
DerivedFromClassA derivedObject = classAObject as DerivedFromClassA;
whats going on, on the last line? Is it assigning to derivedObject only those values that are in common between derivedObject and classAObject ?