How do I check if a number is positive or negative in C#?
public static bool IsPositive(T value) where T : struct, IComparable { return value.CompareTo(default(T)) > 0; }