What is the result of email-id variable used in below code?

Session.Add("Name", "Vishal");
Session.Add("Email_Id", "vish@abc.com");
Session.Add("Ph-No", "1234567890");


string name = Convert.ToString(Session["Name"]);
string email_id = Convert.ToString(Session["Email_Id"]);
string phone_number = Convert.ToString(Session["Ph-No"]);

 Posted by vishalneeraj-24503 on 12/24/2013 | Category: ASP.NET Interview questions | Views: 4331 | Points: 40
Select from following answers:
  1. vish@abc.com
  2. nothing
  3. compile-time error
  4. run-time error
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response