private static bool NotValidBase (int value) { if ((value == 2) || (value == 8) || (value == 10) || (value == 16)) return false; return true; }