I had the need to store user form data in a array and then put the array into and arraylist . Now I put the array list into the session and accessed the session object in another page to display the entire contents of the array list.
I had to typecast the session data and get them into an array list.
Now I had code file, filename.aspx.cs which had the class definition, methods ,constructors and the getters,setters.
Will post the code soon.