¿Qué hace el siguiente código?
List<int> numbers = new List<int> { 1, 2, 3, 4, 5 };
int sum = numbers.Aggregate((a, b) => a + b);
¿Qué hace el siguiente código?
List<int> numbers = new List<int> { 1, 2, 3, 4, 5 };
int sum = numbers.Aggregate((a, b) => a + b);