remove from array c# code example
Example 1: remove index from array c#
//You can't change length of array in c#
//But you change Lists in c#
int foos = new List<int>(array);
foos.RemoveAt(index);
array = foos.ToArray();
Example 2: remove all array elements c#
Array.Clear(myArray, 0, myArray.Length);