piyushpiyush Ответов: 1

Преобразование PHP кода в C#


Как я могу конвертировать следующий php-код в C#?.

<?php

$to = $_GET["to"]; //The receiving mobile number
$from = $_GET["from"]; //The sending mobile number
$message = urldecode($_GET["message"]); //SMS content


// You may wish to log this information in a database

// Lets send an email with the message data
$email_message = "Inbound SMS sent to $to.\nSent From: $from\nMessage: $message";
mail("email@example.com", "Inbound SMS", $message, "From: email@example.com");

Thanks7872

Изучите его и преобразуйте сами.

1 Ответов

Рейтинг:
2

ChauhanAjay

Просто проверьте следующий url-адрес

Нужно конвертировать PHP код в C#[^]

Надеюсь, это поможет.