Answer: Add method is used to add key and value pairs in Session.
This is an alternate way to assign values to Session variables.
For Example:-
Session.Add("Name", "Vishal");
Session.Add("Email_Id", "vish@abc.co.in");
Asked In: Many Interviews |
Alert Moderator