A controversial new proposal for .NET suggests the introduction of a limited form of multiple inheritance via abstract interfaces. This feature was inspired by Java’s default methods. The purpose of a ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. This article dives into the happens-before ...
Extension methods provide a great way for extending a class functionality -- but it's interfaces that let you use those methods anywhere you want. Extension methods let you add functionality to an ...
Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations. One of the new and interesting features in C# 8.0 is the support for ...