most common way to initialize array in C# code example
Example: c# how to initialize an array
var array = new int[] { 1, 2, 3 }
var array2 = new ObjectName[] { /* add element to array here */ };
var array = new int[] { 1, 2, 3 }
var array2 = new ObjectName[] { /* add element to array here */ };