I have a doubt on how to call the method of particular interface (Say IA or IB or In...) in the following code. Please help me on how to call. I have commented the lines of
In order to call an explicit interface method you must hold a reference to that interface type or cast it:
IB ib = new Model(); ib.Display(); IA ia = (IA)ib; ia.Display();