System.Linq.Tests.AggregateTests.Aggregate3 C# (CSharp) Method

Aggregate3() private method

private Aggregate3 ( ) : void
return void
        public void Aggregate3()
        {
            var val = (new int[] { 0, 2, 1 }).AsQueryable().Aggregate(0L, (n1, n2) => n1 + n2, n => n.ToString());
            Assert.Equal("3", val);
        }
    }