System.ValueTuple
4.6.2
Prefix Reserved
.NET Core 2.0
This package targets .NET Core 2.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.6.2
This package targets .NET Framework 4.6.2. The package is compatible with this framework or higher.
dotnet add package System.ValueTuple --version 4.6.2
NuGet\Install-Package System.ValueTuple -Version 4.6.2
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="System.ValueTuple" Version="4.6.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="System.ValueTuple" Version="4.6.2" />
<PackageReference Include="System.ValueTuple" />
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 System.ValueTuple --version 4.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.ValueTuple, 4.6.2"
#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 System.ValueTuple@4.6.2
#: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=System.ValueTuple&version=4.6.2
#tool nuget:?package=System.ValueTuple&version=4.6.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
Provides implementations for various value tuple variants. A value tuple is a data structure that has a specific number and sequence of values.
Main Types
The main types provided by this library are:
System.ValueTupleSystem.ValueTuple<T1>System.ValueTuple<T1,T2>System.ValueTuple<T1,T2,T3>System.ValueTuple<T1,T2,T3,T4>System.ValueTuple<T1,T2,T3,T4,T5>System.ValueTuple<T1,T2,T3,T4,T5,T6>System.ValueTuple<T1,T2,T3,T4,T5,T6,T7>System.ValueTuple<T1,T2,T3,T4,T5,T6,T7,TRest>System.TupleExtensionsSystem.Runtime.CompilerServices.TupleElementNamesAttribute
Additional Documentation
- For more information about these APIs, see Value tuples.
License
System.ValueTuple is released as open source under the MIT license.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. |