c# array remove empty code example Example: how to empty an array c# Array.Clear(arr, 0, arr.Length);