Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Additional extension methods for working with .NET collections.
C# F#
branch: master
Failed to load latest commit information.
packages Replaced NUnit by xUnit.net
src
tools Replaced NUnit by xUnit
.gitignore More FAKE goodness
ExtraLINQ.nuspec More FAKE goodness
ExtraLINQ.sln "ExtraLinq.csproj" => "ExtraLINQ.csproj"
LICENSE.txt Updates license to 2015
README.md README.md: Specifies language for syntax highlighting
RELEASE_NOTES.md Renames 'CountsMin' to 'HasAtLeast'
build.bat
build.fsx Replaced NUnit by xUnit
fake.cmd Changed folder structure, added FAKE

README.md

ExtraLINQ

ExtraLINQ provides additional extension methods for working with .NET collections.

Installation

ExtraLINQ is available as a NuGet package:

Install-Package ExtraLINQ

Extensions

Extensions for collections of type IEnumerable<T>:

  • CountsExactly — Determines whether a collection contains exactly a certain number of items.
  • CountsMax — Determines whether a collection contains at most a certain number of items.
  • CountsMin — Determines whether a collection contains at least a certain number of items.
  • Intersperse — Returns all elements of the collection separated by the given separator.
  • IsEmpty — Determines whether a collection is empty.
  • IsNullOrEmpty — Determines whether a collection is null or empty.
  • None — Determines whether a collection doesn't contain any elements matching certain criteria.
  • Random — Returns a given number of random elements from a collection.
  • Shuffle — Returns the items of the given collection in random order.
  • Without — Returns the specified collection without the specified items.

Extensions for collections of type NameValueCollection:

  • ToDictionary — Returns a new dictionary from the specified collection.
  • ToKeyValuePairs — Enumerates the specified collection as a sequence of key-value pairs.
Something went wrong with that request. Please try again.