Use the following code for creating a generic string list and add item in it:
System.Collections.Generic.List<string> itemList = new System.Collections.Generic.List<string>();
itemList.Add("egg");
itemList.Add("apple");
itemList.Add("nut");
Now at the time of iterating the list use foreach statement like
foreach (string item in itemList)
{
Console.WriteLine(item);
}
Simple...isn't it? :)