Hi All!
It would be really great if the signature for Linq's Enumerable.OrderBy was updated such that TKey had to implement IComparable. The same is true regarding ThenBy. This would make it possible to catch certain errors at compile time rather than run time.
Hi All!
It would be really great if the signature for Linq's
Enumerable.OrderBywas updated such that TKey had to implement IComparable. The same is true regardingThenBy. This would make it possible to catch certain errors at compile time rather than run time.