<PackageReference Include="System.Threading.Tasks" Version="2.1.0" />

Partitioner

public static class Partitioner
public static OrderablePartitioner<TSource> Create<TSource>(IEnumerable<TSource> source)

public static OrderablePartitioner<TSource> Create<TSource>(TSource[] array, bool loadBalance)

public static OrderablePartitioner<TSource> Create<TSource>(IList<TSource> list, bool loadBalance)

public static OrderablePartitioner<Tuple<int, int>> Create(int fromInclusive, int toExclusive)

public static OrderablePartitioner<Tuple<int, int>> Create(int fromInclusive, int toExclusive, int rangeSize)

public static OrderablePartitioner<Tuple<long, long>> Create(long fromInclusive, long toExclusive)

public static OrderablePartitioner<Tuple<long, long>> Create(long fromInclusive, long toExclusive, long rangeSize)