How can I implement this:
- I have 3 types (actually Interface): A , B and C
- A has no methods, but B and C have some methods.
- I want the type A in some situations can be cast to type B and use B methods and in other situation cast to type C and use its methods?
From your comments