# morelinq/MoreLINQ

Extensions to LINQ to Objects

Repository: https://github.com/morelinq/MoreLINQ
Canonical: https://ross.abutalabs.com/products/morelinq
Homepage: https://morelinq.github.io/
Language: C#
License: Apache-2.0
License Family: permissive
Topics: linq, dotnet
Last push: 2025-11-25T20:33:04+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 54, release rhythm 8, longevity 100
- inputs: {"age_days": 4030, "days_push": 281, "days_rel": 610, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3834, forks 420 (observed 2026-08-28T04:08:23.751373+00:00)

## What it is
MoreLINQ is a C# library that extends LINQ to Objects with additional extension methods for IEnumerable<T>, such as Batch, DistinctBy, MaxBy, and Windowed. It is distributed as a NuGet package and keeps to the design spirit of standard LINQ.

## Use cases
- batch an IEnumerable into fixed-size chunks in C#
- find the max element by a key selector without sorting
- window or slide over a sequence in .NET
- get distinct elements by a specific property in LINQ
- zip sequences of different lengths in C#
- take every nth element from a collection

## When to choose
- you write .NET/C# code and want richer sequence operators than the built-in LINQ provides
- you want a lightweight, dependency-free NuGet package that follows LINQ conventions
- you need well-documented, battle-tested IEnumerable extensions

## When to avoid
- you work outside the .NET ecosystem
- you only need one or two simple helpers that are trivial to write yourself
- you need async/IAsyncEnumerable extensions, which this library does not focus on

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools
- domain: developer-tools, programming-languages
- platform: dotnet, cross-platform
- tags: linq, csharp, ienumerable, extension-methods, nuget

## Member repositories
- morelinq/MoreLINQ (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:23.751373+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:17.799045+00:00, confidence not recorded.
  - readme: https://github.com/morelinq/MoreLINQ (fetched 2026-08-28T04:08:23.751373+00:00, sha 310f9958a387)
  - homepage: https://morelinq.github.io/ (fetched 2026-08-29T09:20:55.389185+00:00, sha 3d63c6c729df)
- Data as of 2026-08-30T08:39:29.467469+00:00.
