static public IEnumerable<int> IntRange(int From, int To) { for (int n = From; n <= To; n++) { yield return n; } } }