Method ThrowOutOfByteRange
ThrowOutOfByteRange(int, string)
Throws an ArgumentException if the specified value is outside the valid range for a byte.
public static void ThrowOutOfByteRange(int v, string n)
Parameters
vintThe value to validate.
nstringThe name of the variable being validated, used in the exception message.