You are viewing a single comment's thread. Return to all comments →
static int simpleArraySum(int[] ar) { int total = 0; foreach (int n in ar) { total += n; } return total; }
Seems like cookies are disabled on this browser, please enable them to open this website
Simple Array Sum
You are viewing a single comment's thread. Return to all comments →
C# working example.