System.Linq.Expressions.Strings.OutOfRange C# (CSharp) Method

OutOfRange() static private method

A string like "{0} must be greater than or equal to {1}"
static private OutOfRange ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string OutOfRange(object p0, object p1) => SR.Format(SR.OutOfRange, p0, p1);

Usage Example

 internal static Exception OutOfRange(object p0, object p1)
 {
     return(new ArgumentOutOfRangeException(Strings.OutOfRange(p0, p1)));
 }
Strings