Example #1
0
 private static void CheckBase(Int32 _base /* "base" is a keyword in C#, hence the leading underscore. */)
 {
     if (!_base.IsInRange(2, 36))
     throw new ArgumentOutOfRangeExceptionFmt(Properties.Resources.MathUtils_BaseOutOfRange, _base);
 }