c# array remove all elements code example Example: remove all array elements c# Array.Clear(myArray, 0, myArray.Length);