コード例 #1
0
        private static void CallSequence( )
        {
            var results =
                SequenceHelpers.Take(
                    SequenceHelpers.Apply(
                        SequenceHelpers.Apply(
                            EndlessListFunction( ),
                            Square),
                        x => x / 2),
                    10);

            var results2 =
                EndlessListFunction( ).
                Apply(Square).
                Apply(x => x / 2).
                Take(10);
        }