lets say I have an array like this:
var items = [
0: {},
1: {},
2: {},
3: {},
4: {},
5: {}
]
And I know which Items i want to handle since I have figured out their index:
List<int> myIndexes = new List<int> { 0, 3, 5};
I want to get items 0, 3, 5
How would I accomplish this with a LINQ query?
looking for something like:
var myNewItems = items.Something(myIndexes)