Soenneker.Extensions.Enumerable.Tuple 11.0.642

Prefix Reserved
dotnet add package Soenneker.Extensions.Enumerable.Tuple --version 11.0.642
                    
NuGet\Install-Package Soenneker.Extensions.Enumerable.Tuple -Version 11.0.642
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Extensions.Enumerable.Tuple" Version="11.0.642" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Enumerable.Tuple" Version="11.0.642" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Extensions.Enumerable.Tuple" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Extensions.Enumerable.Tuple --version 11.0.642
                    
#r "nuget: Soenneker.Extensions.Enumerable.Tuple, 11.0.642"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Extensions.Enumerable.Tuple@11.0.642
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Extensions.Enumerable.Tuple&version=11.0.642
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.Enumerable.Tuple&version=11.0.642
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Extensions.Enumerable.Tuple

Extension methods for querying and transforming sequences of System.Tuple values with element-aware comparisons.

Installation

dotnet add package Soenneker.Extensions.Enumerable.Tuple

Usage

using Soenneker.Extensions.Enumerable.Tuple;

var routes = new[]
{
    Tuple.Create("ORD", "DFW"),
    Tuple.Create("DFW", "LAX")
};

bool exists = routes.ContainsItem("ORD", "DFW"); // true
bool reverseExists = routes.ContainsItem("DFW", "ORD"); // false

Both tuple positions must match, in order, using EqualityComparer<T>.Default. Enumeration stops at the first match and null tuples in the sequence are skipped. The overload accepting a Tuple<TFirst,TSecond> throws ArgumentNullException when that tuple is null; a null source also throws.

This package targets System.Tuple<,>, not C# value tuples such as (string, string).

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net11.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.642 145 11/11/2026
11.0.641 102 11/10/2026
11.0.640 244 10/27/2026
11.0.639 97 10/26/2026
11.0.638 98 10/26/2026
4.0.637 124 10/14/2026
4.0.636 100 10/14/2026
4.0.631 109 10/12/2026
4.0.630 105 10/12/2026
4.0.629 116 10/11/2026
4.0.628 160 9/24/2026
4.0.627 124 9/15/2026
4.0.626 134 9/12/2026
4.0.625 137 8/29/2026
4.0.623 129 8/29/2026
4.0.622 117 8/29/2026
4.0.621 149 7/27/2026
4.0.620 149 7/16/2026
4.0.619 154 6/18/2026
4.0.618 143 6/5/2026
Loading failed

Upgrade .NET 11 release candidates to stable