Skip to content
ReneWiersmaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

Chunks

The Chunking extension divides an IEnumerable into smaller chunks.

This may be useful when, for example, sending a large of items to a webservice, or saving a large number of items to a database, which may otherwise result in time-outs.

Installation

Available on nuget

PM> Install-Package ReneWiersma.Chunking

Example of use

var items = new List<string>();

// add a large number of items to list

foreach (var chunk in items.ToChunks(chunkSize: 250))
{
  // process chunk
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages