Linq is used to return data, not to modify data. With a slightly different approach, you replace the full array and don't change the array.
First add this little extension method:
public static class Extensions { public static IEnumerable<T> SkipAt<T>(this IEnumerable<T> source, int index) { return source.Where((it, i) => i != index); } }
Then you can do this "Linq way":
var a = new[] {1,2,3}; a = a.SkipAt(1).ToArray();
source share