Author: WPHC | Posted on: 8/8/2009 7:28:42 PM | Views : 360

Hey guys,


I am really having a difficult time here understanding this part of .net...


Interfaces replacing multiple inheritance...it just doesnt make sense or I am missing something


I understand the following:


1.) Interfaces seperate the 'what' from the 'how'
2.) Interfaces can inherit other interfaces
3.) Classes cannot inherit from multiple classes
4.) Classes can inherit multiple Interfaces
5.) You have to fill in the "how" in the class that implements the interface





What is the point of inheriting multiple interfaces if you still have to define the code in the class that does the "how"? - dont you still have to write the same code over and over?


Is there any good examples of Interfaces? as well and the who and why?  I have read the explanation in "Visual C# 2005" by john sha ...

Go to the complete details ...