input: from typing import Callable
  
  def python_to_csharp_converter(python_code: str) -> str:
      """ Converts a given Python program to a C# program.
      >>> python_to_csharp_converter("def power(x, y):\\n    if y == 0:\\n        return 1\\n    else:\\n        return x * power(x, y - 1)\\n")
      '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}'
      """
output:     python_code = python_code.replace("def ", "public ").replace(":", " {").replace("return ", "return ").replace("if ", "if (").replace("else:", "else {").replace("\\n", "\\n    ").replace("    ", "    ")
      python_code = python_code.replace("):", ") {")
      python_code = python_code.replace("int ", "int ").replace("float ", "float ").replace("str ", "string ").replace("bool ", "bool ")
      python_code = python_code.replace("True", "true").replace("False", "false")
      python_code = python_code.replace("print(", "Console.WriteLine(")
      python_code = python_code.replace("input(", "Console.ReadLine(")
      python_code = python_code.replace("len(", "Length")
      python_code = python_code.replace("range(", "Range(")
      python_code = python_code.replace("for ", "for (").replace(" in ", " in ")
      python_code = python_code.replace("while ", "while (")
      python_code = python_code.replace("break", "break;").replace("continue", "continue;")
      python_code = python_code.replace("}", "}\n")
      python_code = python_code.replace("    ", "    ")
      return python_code