public IEnumerator GetEnumerator() { if (DateTime.Now.Second % 10 == 0) yield break; yield return "first"; yield return 2; }