using System.Collections.Generic;
public static void Main()
int[] arr = { 0, 1, 2, 3, 4 };
List<int> list = new List<int>();
for (int x = 5; x < 10; x++)
static void ProcessItems<T>(IList<T> coll)
("IsReadOnly returns {0} for this collection.",
System.Console.Write(item.ToString() + " ");
System.Console.WriteLine();