ThrowHelper static class ThrowHelper Documentation Code public static void ThrowIfGreaterThan<T>(T value, T other, string paramName = null) where T : IComparable<T> public static void ThrowIfLessThan<T>(T value, T other, string paramName = null) where T : IComparable<T> public static void ThrowIfNegative(int value, string paramName = null) public static void ThrowIfNull(object argument, string paramName = null)