Contrasting C# and Java Syntax
Subject:   On params
Date:   2002-11-21 07:51:40
From:   rkarimov
Thank you for the concise and informative article. Just a short note on "In Java, this will take at least three lines of code just to call the method -- the first to create the array, one or more lines to assign values into the array, and the third to call the method". This sentence is not quite accurate - the way it is usually done in Java:

methodCaller(new int[] { 1, 2, 3, 4, 5, 6 });