Do you want to add the array to a list, or do you want to add the
*content* of the array to the list; i.e. if I have:
// array
int[] myInts = {1,2,3};
if we add that to an empty list, do you want 1 item in the list (which
is an array), or do you want 3 items in the list (the integers)?
I would recommend using generics here, such as List<T>; for example:
List<int> myList = new List<int>();
// ...
myList.AddRange(myInts);
For traversing the list, "foreach" is your friend, as it works for any
IEnumerable[/<T>] instance:
foreach (int i in myList)
{
Console.WriteLine(i);
}
Note you can also use "foreach" over myInts; the advantage of a list
is that you can add/remove items (arrays are fixed-size).
Marc