hello I am creating a web app in which i have a session which is consist of my array string i want to add more items in that particular session
if (System.Web.HttpContext.Current.Session["Questions"] == null)
{
System.Web.HttpContext.Current.Session["Questions"] = Questions; // here question is string array,
//assigning value of array to session if session is null
}
else
{
for (var i = 0; i < ((string[])System.Web.HttpContext.Current.Session["Questions"]).Length; i++)
{
// what i need to do to push other item in the present session array
//wants to add Question here
}
}