コード例 #1
0
        public void TestGenerateSequence()
        {
            decimal cnt = 1;

            IEnumerable <decimal> seq = _fibSeqGen.GenerateSequence();

            foreach (decimal d in seq)
            {
                Console.WriteLine("{0}: {1}", cnt++, d);
            }
        }