예제 #1
0
        static void PrintSeries(IIndexable mySeries)
        {
            mySeries.Reset();

            for (int i = 0; i < 10; ++i)
            {
                Console.Write(mySeries.GetCurrent() + " ");
                mySeries.MoveNext();
            }
        }