private static IEnumerable<int> CreateTimesIterator(int self) { for (int i = 0; i < self; i++) { yield return i; } }