pseudocode :
can someone give me C# asp .net code for the above mentioned pseudocode as I'm completely new to progamming world???
string url="http://www.google.co.in/?gws_rd=cr" // variable declaration and assigning url to variable
if(url !="") // checking the string variable is empty or not
{
Response.Redirect(url); // variable is not empty redirect to given URL
}
else
{
Response.Redirect(HOMEPAGE URL); // else redirect to given home page
}
try this and let me now. it will helpful