Έχουν δημοσιευτεί Δευτέρα, 12 Μαΐου 2008 1:14 μμ από το μέλος Dimitris Papadimitriou

Using extension methods to extend classes that already inherit from another class

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...

Διαβάστε περισσότερα »

Share


Ενημέρωση για Σχόλια

Αν θα θέλατε να λαμβάνετε ένα e-mail όταν γίνονται ανανεώσεις στο περιεχόμενο αυτής της δημοσίευσης, παρακαλούμε γίνετε συνδρομητής εδώ

Παραμείνετε ενήμεροι στα τελευταία σχόλια με την χρήση του αγαπημένου σας RSS Aggregator και συνδρομή στη Τροφοδοσία RSS με σχόλια

Σχόλια:

Χωρίς Σχόλια

Ποιά είναι η άποψή σας για την παραπάνω δημοσίευση;

(απαιτούμενο)
απαιτούμενο
προαιρετικό
απαιτούμενο
ÅéóÜãåôå ôïí êùäéêü:
CAPTCHA Image

About Dimitris Papadimitriou

Click here to view my resume