private static void swap(int i, int k) { var currentI = _a[i]; var currentK = _a[k]; _a[i] = currentK; _a[k] = currentI; }