empty contents of array c# code example
Example 1: c# empty array
object[] emptyArray = new object[0];
Example 2: how to empty an array c#
Array.Clear(arr, 0, arr.Length);
object[] emptyArray = new object[0];
Array.Clear(arr, 0, arr.Length);