You can easily do that using Skip:
arr = arr.Skip(1).ToArray();
This creates another array with new elements like in other answers. It’s because you can’t remove from or add elements to an array. Arrays have a fixed size.
You can easily do that using Skip:
arr = arr.Skip(1).ToArray();
This creates another array with new elements like in other answers. It’s because you can’t remove from or add elements to an array. Arrays have a fixed size.