I have an array of objects of type A:
A[] ar.
And a list of integers:
List<int> indexes.
How can I delete from the ar all objects with indexes in the indexes, using LINQ?
I.e. I need a new (smaller) array without the objects that their indexes are in indexes. Using LINQ.
Is the order of the remained objects will be the same as before the deletion?
Thanks a lot.