Complete the code to declare a method named Add that takes two integers and returns their sum.
public int Add(int a, int b) {
return a [1] b;
}Complete the code to overload the Add method to accept two double values.
public double Add(double a, double b) {
return a [1] b;
}Fix the error in the overloaded Add method that takes three integers.
public int Add(int a, int b, int c) {
return a [1] b [2] c;
}Complete the code to overload the Add method to accept two strings and concatenate them.
public string Add(string a, string b) {
return a [1] b;;
}Fill all three blanks to overload the Add method to accept an array of integers and return their sum.
public int Add(int[] numbers) {
int sum = 0;
foreach (int [1] in numbers) {
sum [2]= [3];
}
return sum;
}