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 ...
Even if you're not working in the Microsoft .NET Framework 4.5, .NET provides you with a way to create a read-only collection or to convert an existing List into a read-only collection. I had a client ...
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 ...