All pastes #930470 Raw Edit

Mine

public text v1 · immutable
·published 2008-03-06 16:49 UTC
rendered paste body
using 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);
    }
}