This will probably be a simple question for some. I am just delving into the asp.net world. I have inherited a php script that I need to convert to asp.net. I know that there are converters out there but I can't use them. The gist of my issue is that I have numerous "if" statement that follow the same PHP format.
PHP format is:
if ($_GET['id'] == "Word") {
$location = "http://www.word.com" ;
}
How should this look in asp.net?