LINQ OrderBy – using Comparer<T>.Create and F#’s Object Expressions
.Net 4.5 introduced a handy little new method Comparer<T>.Create to aid the creation of bespoke comparers, which is great because it means that you don’t have to define a new Comparer class when it is going to be needed once. In case you’re wondering, it’s still not possible to define anonymous implementation of interfaces in …
LINQ OrderBy – using Comparer<T>.Create and F#’s Object Expressions Read More »