List<string> MyList = (List<string>)Session["MyList"];
MyList
contains values like: 12
34
55
23
.
I tried using the code below, however the values disappear.
string Something = Convert.ToString(MyList);
I also need each value to be separated with a comma (",
").
How can I convert List<string> Mylist
to string
?