input: Write a function to convert the given Python program that calculates the power of a number to a C# program. The function should take two parameters, x and y, and return the result of raising x to the power of y using recursion. If y is 0, the function should return 1.
  public int Power(int x, int y)
  {
      if (y == 0)
      {
          return 1;
      }
      else
      {
          return x * Power(x, y - 1);
      }
  }
  assert Power(2, 3)==8
  assert Power(5, 0)==1
  assert Power(3, 2)==9
  assert Power(10, 1)==10
  assert Power(4, 3)==64
output: def Power(x, y):
      if y == 0:
          return 1
      else:
          return x * Power(x, y - 1)