I thought this method was valid but I was wrong:
static void Equals(T x, T y) { return x == y; //operator == can\'t be applied to type T } >
use .Equals() method and be sure that the T implement IComparable
.Equals()
T
IComparable