Tag Archives: .NET C# Tips Tags: csharp

A better switch with Lambdas in .NET, Part 4 (Working with Types)

By | September 24, 2013

When dealing with the new Switch case constructs, I always wanted to add more to it. After adding things to it like, replacing the previous switch /case with lambdas, then adding a StringComparer and then adding IComparer, I thought let us add something really useful to it. The switch with Types is always one might have wanted with… Read More »