// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; using System.Collections.Generic; public class Demo { public static void Test(List lst) { foreach(int v in lst) { Console.WriteLine(v); } } }