public static void Sort1(object[] vals, comparer acomparer) { bool swap; do { swap = false; for (int idx = 0; idx < vals.Length - 1; idx++) { var curr = vals[idx]; if (acomparer(curr, vals[idx + 1])) { swap = true; vals[idx] = vals[idx + 1]; vals[idx + 1] = curr; } } } while (swap); }
IntersectInternal(first, second, comparer, cutOffLength);
UpdateItems(targetCollection, updateCollection, comparer, mapper, null, _ => true, _ => false);