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