public bool IsInRange(string value) { var number = LetterSequence.GetNumber(value); if (Start <= number && number <= End) { return((number - Start) % Step == 0); } else { return(false); } }
public static int GetCol(string colName) => LetterSequence.GetNumber(colName);
public LetterRange(string start, string end, int step) : this(LetterSequence.GetNumber(start), LetterSequence.GetNumber(end), 1) { }