The IComparable interface lets you create objects that know how to sort themselves correctly. This interface also provides an example of a high-level strategy for building and extending your classes.
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
Java interfaces are different from classes, and it’s important to know how to use their special properties in your Java programs. This tutorial introduces the difference between classes and interfaces ...
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 ...
Community driven content discussing all aspects of software development from DevOps to design patterns. To fully understand the benefits and how lambda expressions provide code conciseness and ...
Take advantage of custom exception classes to extend error handling or add meaningful information to the errors thrown by your .Net applications An exception is an ...