Published on January 26, 2024By DeveloperBreeze
int[] numbers = { 1, 2, 3, 4, 5 };
int sum = numbers.Sum();
Console.WriteLine("Sum of Numbers: " + sum);
int[] numbers = { 1, 2, 3, 4, 5 };
int sum = numbers.Sum();
Console.WriteLine("Sum of Numbers: " + sum);
Comments
Please log in to leave a comment.