MoreLINQ icon indicating copy to clipboard operation
MoreLINQ copied to clipboard

Extensions to LINQ to Objects

Results 137 MoreLINQ issues
Sort by recently updated
recently updated
newest added

I'd like to suggest adding an operator that will return items of a sequence at given sequence of zero-based positions or indicies. It will traverse the source items and an...

It's pretty useful and widely used feature, to check if two unordered collections are the same, probably with default and nondefault comparers

This PR adds `Merge` that concurrently merges all the elements of multiple asynchronous streams into a single asynchronous stream. An overload allows concurrency to be controlled from 1 (sequential) to...

The Enumerable.Range does not have step parameter. Can you add Range method with step parameter, please. `Range(int start, int count, int step)` It is different from Sequence(int start, int stop,...

Implementation of `ZipMap` proposed in #661.

Hi! I ran some tests with the [`PartialSort`](https://morelinq.github.io/3.3/ref/api/html/M_MoreLinq_MoreEnumerable_PartialSort__1_1.htm) operator, and it seems that it uses the `comparer` more frequently than necessary. For most items it should be enough to check...

Same API as `DistinctBy`, but assumes a sorted input (by the distinct key), so it doesn't have to keep a full hashmap of previously seen values.

This is a clone of #169 but with corrected changes to pass build.

Inspired by https://stackoverflow.com/a/34981556, a method like this would be convenient... ```csharp static bool All(this IEnumerable source, Func predicate, bool mustHaveItems) { foreach (var e in source) { if (!predicate(e)) return...

This PR continues #639 since I erroneously deleted it's branch.