Тэги:
#dgtraining #.net #c# #inheritance_in_c# #oops_inheritance #oops #oops_in_c# #.net_tutorial #c#_tutorial #multiple_inheritance #multiple_inheritance_in_c#Комментарии:
Nice explanation
ОтветитьGreat explanation
suppose we have two interfaces A and B, both having same Add() method
And we are implementing it in a class ABC
Now the obj of ABC is calling the Add() method ,
The question is, which Add() method will be called now ? Will it be from interface A or form Interface B ?
What If we have two different functions in class A and class B?
Ответитьshort and simple example :) Thanks!!
Ответить