input: Write a function to convert a given Python program to a C# program. The function should take the Python code as input and return the equivalent C# code. Ensure that the function handles basic recursive functions like the one provided.
  
  public string ConvertPythonToCSharp(string pythonCode)
  {
      // Implementation of the conversion logic goes here
      // This is a placeholder for the actual conversion logic
      return "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}";
  }
  
  // Test cases
  assert ConvertPythonToCSharp("def power(x, y):\n    if y == 0:\n        return 1\n    else:\n        return x * power(x, y - 1)") == "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}";
  
  // Additional test cases can be added here as needed
output: public string ConvertPythonToCSharp(string pythonCode)
  {
      string[] lines = pythonCode.Split('\n');
      string functionName = lines[0].Split('(')[0].Split(' ')[1];
      string parameters = lines[0].Split('(')[1].Split(')')[0];
      string[] paramList = parameters.Split(',');
      string csharpCode = $"public int {char.ToUpper(functionName[0]) + functionName.Substring(1)}(int {paramList[0].Trim()}, int {paramList[1].Trim()})\n{{\n";
  
      foreach (string line in lines.Skip(1))
      {
          if (line.Contains("if"))
          {
              csharpCode += "    " + line.Replace("if", "if (") + ")\n    {\n";
          }
          else if (line.Contains("return"))
          {
              csharpCode += "        " + line.Replace("return", "return ") + ";\n    }\n";
          }
          else if (line.Contains("else"))
          {
              csharpCode += "    }\n    else\n    {\n";
          }
      }
  
      csharpCode += "}\n";
      return csharpCode;
  }