input: from typing import List
  
  def power_conversion(python_code: List[str]) -> List[str]:
      """ Convert a given Python program to a C# program.
      >>> power_conversion(["def power(x, y):", 
                           "    if y == 0:",
                           "        return 1",
                           "    else:",
                           "        return x * power(x, y - 1)"])
      ['public int Power(int x, int y)', 
       '{',
       '    if (y == 0)', 
       '    {',
       '        return 1;',
       '    }',
       '    else',
       '    {',
       '        return x * Power(x, y - 1);',
       '    }',
       '}']
      """
output:     result = []
      for line in python_code:
          if line.strip().startswith("def "):
              function_name = line.split("(")[0].split(" ")[1]
              result.append(f"public int {function_name.capitalize()}(int x, int y)")
              result.append("{")
          elif line.strip().startswith("if "):
              result.append(f"    {line.strip().replace(':', '')}")
              result.append("    {")
          elif line.strip().startswith("else:"):
              result.append("    }")
              result.append("    else")
              result.append("    {")
          elif line.strip().startswith("return "):
              result.append(f"        {line.strip().replace('return', 'return ')};")
          elif line.strip() == "":
              continue
          else:
              result.append(f"    {line.strip()}")
      result.append("    }")
      result.append("}")
      return result