input: 
  from typing import List
  
  def convert_to_csharp(function_name: str, parameters: List[str], body: List[str], parameter_types: List[str], return_type: str) -> str:
      """ Convert a given Python function to a C# method. The function parameters are provided as a list of strings and their respective types as another list. The body of the function is provided as a list of strings. The return type of the function is also provided. The function should return the C# method as a string.
      >>> convert_to_csharp('power', ['x', 'y'], ['    if y == 0:', '        return 1', '    else:', '        return x * power(x, y - 1)'], ['int', 'int'], 'int')
      'public int Power(int x, int y)\n{\n    if (y == 0)\n    {\n        return 1;\n    }\n    else\n    {\n        return x * Power(x, y - 1);\n    }\n}'
      """
      csharp_function = f"public {return_type} {function_name.capitalize()}({', '.join([f'{param_type} {param}' for param_type, param in zip(parameter_types, parameters)])})\n{{\n"
      indent = "    "
      for line in body:
          csharp_function += indent + line.replace("power", function_name.capitalize()).replace(":", "").replace("return", "return ").replace("    ", indent) + ";\n"
      csharp_function += "}"
      return csharp_function
  
output:     csharp_function = f"public {return_type} {function_name.capitalize()}({', '.join([f'{param_type} {param}' for param_type, param in zip(parameter_types, parameters)])})\n{{\n"
      indent = "    "
      for line in body:
          csharp_function += indent + line.replace("power", function_name.capitalize()).replace(":", "").replace("return", "return ").replace("    ", indent) + ";\n"
      csharp_function += "}"
      return csharp_function