c# remove index from array code example
Example 1: c# array remove first element
string[] arr = { "a", "b", "a" };
arr = arr.Skip(1).ToArray();
Example 2: 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();