create a new empty array c# code example
Example 1: c# declare empty string array
string[] stringArray = new string[] {};
Example 2: c# empty array
object[] emptyArray = new object[0];
Example 3: how to empty an array c#
Array.Clear(arr, 0, arr.Length);