Does anyone know how to write multiple values to a single session variable in C#. I have two textboxes, both will allow users to input numbers. I want to put both numbers in a single session variable. For example Textbox1 = 4, and textbox2 = 6.
Would I for example, convert both to variables then have something similar to below? If anyone could help, I would greatly appreciate it. Thanks.
Session["AppNum_Session"] = txtbox_var1, txtbox_var2;