beratcarsi
7/7/2014 - 6:00 AM

Agregate LINQ Test

Agregate LINQ Test

[TestFixture]
public class AgregateTest
{
    [Test]
    public void agregate_test()
    {
        string[] words = { "one", "two", "three" };
        var result = words.Aggregate((current, next) => current + ", " + next);
        Console.WriteLine(result);
    }
}