Έχουν δημοσιευτεί
Δευτέρα, 12 Μαΐου 2008 1:14 μμ
από το μέλος
Dimitris Papadimitriou
As you may already know .NET does not allow multiple inheritance. Bill Warner describes how one can override this limitation by using interfaces and extension methods on that interfaces. The result is impressive! You end up with some class A that inherits from some class B, implements some interface C, but since that interface C has extension methods, class A ends up inheriting them! If I may say so.... class A inherits the interface C! Read this...
Διαβάστε περισσότερα »