Answers for "c# functional reduce"

C#
0

array reduce c#

//retorna a soma de todos os itens do array
	static int simpleArraySum(int[] ar) {
        return ar.Aggregate((acc, x) => acc + x);
    }
Posted by: Guest on October-14-2020
0

array reduce c#

Enumerable.Range(1, 10).Select(x => x + 2);
Posted by: Guest on April-04-2022

C# Answers by Framework

Browse Popular Code Answers by Language