how to dissect string values
Posted
by nhoyti
on Stack Overflow
See other posts from Stack Overflow
or by nhoyti
Published on 2010-06-14T07:07:22Z
Indexed on
2010/06/14
7:12 UTC
Read the original article
Hit count: 178
how can i dissect or retrieve string values
Here's the sample code that im working on now
private void SplitStrings()
{
List<string> listvalues = new List<string>();
listvalues = (List<string>)Session["mylist"];
string[] strvalues = listvalues.ToArray();
for (int x = 0; x < strvalues.Length; x++)
{
}
}
now that i'am able to retrieve List values in my session, how can i separately get the values of each list using foreach or for statement?
© Stack Overflow or respective owner