
LINQ tip – Ordering collection using existing array/collection using OrderBy
Here is a LINQ tip where you may wish to order a collection with an existing ordering of another collection. Example: int[] displaySeq = new int[] { 1, 8, 5, 7, 13 }; //the ordering we want at the end…
Read more: LINQ tip – Ordering collection using existing array/collection using OrderBy
