- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
var yetUsed = new HashSet<int>(startFrom ?? new int[] { })
/*..............................................................................................................................*/
foreach (var ind in Enumerable.Range(0, proxy.Size).Where(yetUsed.Contains))
{
proxy.SetIndexes(yetUsed.Where(x=>x!= ind).OrderBy(x => x).ToArray());
/* ............................................................................*/
}
/*.......................................................................................................................*/