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 ...
When working in applications you might often find that the source code has become so complex that it is difficult to understand and maintain. Fluent interfaces and method chaining are two concepts ...
Interfaces help define a contract, or agreement, between your application and other objects. This agreement indicates what sort of methods, properties and events are exposed by an object. But ...
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 ...
If I have a struct that implements an interface, what is the process of converting back and forth between the two types? Simple casting does not work. I am trying to convert between arrays of the ...
Apple's young Swift programming language is getting a lot of attention and being put to new uses as it evolves, but Microsoft's .NET stalwart C# language isn't exactly sitting still. For example, ...
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 ...