// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) namespace Loop12 { public class Program { public static void Main(string[] args) { string[] sa = { "A", "BB", "CCC" }; for(int ix = 0; ix < sa.Length; ix++) { Console.WriteLine("{0} : {1}", ix, sa[ix]); } } } }