Started out as a port of the open source JavaScript Library Underscore.js to C#, but now is really a library (or helper object) inspired by underscore.js
Solution is available as a NuGet package
Install-Package Underscore.cs
An overview of the project's modules and capabilities can be found here.
More specific API documentation with examples for each function can be found in the documents here.
Here is a simple example of using the library's list chunking and random:
var chainOCommand = _approvers.Zip(
_.List.Chunk(_workers,
_.Utility.Random(2, 3)
),
(approver, workerChunk) => new
{
Approver = approver,
Workers = workerChunk
})
.ToDictionary(
a => a.Approver,
a => a.Workers
);