Back to C# Language Enhancements.The
var syntax for implicitly typing variables extends to declaring arrays. This allows the compiler to infer the type of the array elements at compile-time from the members in the initialization expression.
In general terms it allows us to change:
int[] a = new int[] { 1, 10, 100, 1000 };
double[] b = new double[] { 1, 1.5, 2, 2.5 };
string[] c = new string[] { "hello", null, "world" };
To:
var a = new[] { 1, 10, 100, 1000 };
var b = new[] { 1, 1.5, 2, 2.5 };
var c = new[] { "hello", null, "world" };EditReferences
Google search: Implicitly Types Arrays C#