D
Dan Bass
Is this right or not as a difference between C# struct's and classes?
// if successful myStruct will contain a copy of the structure which is
myObj
object myStruct = (StructEg) myObj;
and
// if successful myClass will contain different reference to the same
ClassEg instance
object myClass = (ClassEg) myObj;
// if successful myStruct will contain a copy of the structure which is
myObj
object myStruct = (StructEg) myObj;
and
// if successful myClass will contain different reference to the same
ClassEg instance
object myClass = (ClassEg) myObj;