// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; class MainClass { public static void Main(string[] args) { char[] c1 = { 'a', 'b', 'c' }; char[] c2 = new char[]{ 'a', 'b', 'c' }; char[] c3 = new char[3]; c3[0] = 'a'; c3[1] = 'b'; c3[2] = 'c'; for(int i = 0; i < 3; i++) { Console.WriteLine(c1[i] + " " + c2[i] + " " + c3[i]); } } }