I need this PHP code converted to C#. Is there a tool or a website that would make this possible?
public function call($method, array $params) {
    // Add the format parameter, only 'json' is supported at the moment
    if (!array_key_exists('format', $params)) {
        $params['format'] = 'json';
    }
    $url = "{$this->_url}/{$method}";
    $ch = $this->_getCurlHandle($url);
    if (!$ch) {
        throw new Fuze_Client_Exception("Unable to create a cURL handle");
    }
    // Set the request parameters
    $queryString = http_build_query($params);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $queryString);
    // Fire!
    $result = $this->_executeCurl($ch);
    // All API response payloads should be valid json with 'code' and
    // 'message' members
    $json = json_decode($result);
    if ( !($json instanceof stdClass)
            || !isset($json->code)
            || !isset($json->message) ) {
        throw new Fuze_Client_ServerException(
            "Invalid JSON payload received", $result, $info['http_code']);
    }
    if ( $json->code >= 500 && $json->code < 600) {
        throw new Fuze_Client_FaultException($json);
    }
    return $json;
}