c# how to initialize an array

C#
var array = new int[] { 1, 2, 3 }
var array2 = new ObjectName[] { /* add element to array here */ };
Source

Also in C#: