I would like to achieve this in C#
(Pseudocode)
class A; class B : A; class C : A, B; ... A ac = (A)c; ... B bc = (B)c;
Is th
It is not possible in C#, but, you should also think if this is the scenario you really want.
Is C really an A and a B ? Or does C has an A and a B. If the latter is true, you should use composition instead of inheritance.