Mine
public text v1 · immutableusing System.Collections.Generic;
class ReverseDefaultComparer<T> : IComparer<T>
{
readonly IComparer<T> defaultComparer = Comparer<T>.Default;
public int Compare(T x, T y)
{
return -1 * defaultComparer.Compare(x, y);
}
}