How to sum up an array of integers in C# November 29, 2022 by Tarik Provided that you can use .NET 3.5 (or newer) and LINQ, try int sum = arr.Sum();