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