create array empty c# code example
Example 1: c# initialize empty array
datatype[] arr = new datatype[]{};
or
datatype[] arr = new datatype[0];
or
datatype[] array = {}
or
var a = Array.Empty<datatype>();
Example 2: c# empty array
object[] emptyArray = new object[0];