Write a method that compute the sum of all the elements of an array of integers.
input: [1, 2, 2, 3, 3, 4, 5, 6, 5, 7, 7, 7, 8, 8, 1]
output: 69
public static class SumNumbers
{
public static int Sum(int[] input)
{
}
}
Write a the method to reverse a string.
input: "abcde"
output: "edcba"
public static class ReverseString
{
public static string Reverse(string input)
{
}
}