static void CheckTask_5() { CycledDynamicArray <int> list = new CycledDynamicArray <int>(); list.Add(1); list.Add(2); list.Add(3); list.Add(4); list.Add(5); Thread thread = new Thread(() => PrintArray(list)); thread.Start(); Thread.Sleep(100); thread.Abort(); }
internal CycledEnumerator(CycledDynamicArray <T> list) { this.list = list; index = 0; Current = default(T); }