Take advantage of extension methods to add functionality to existing types without needing to modify or derive from those original types. In the C# programming language, extension methods enable you ...
Learn when static methods can’t be unit tested and how to use wrapper classes and the Moq and xUnit frameworks to unit test them when they can When building or working in .NET applications you might ...
Several classes in the .NET Framework Base Class Library (BCL) provide both synchronous and asynchronous method signatures. Because a synchronous method call can create a delay in program flow, an ...
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 ...