System.ValueTuple 4.6.2

Prefix Reserved
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" />
                    
Directory.Packages.props
<PackageReference Include="System.ValueTuple" />
                    
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 System.ValueTuple --version 4.6.2
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=System.ValueTuple&version=4.6.2
                    
Install as a Cake Tool

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.ValueTuple
  • System.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.TupleExtensions
  • System.Runtime.CompilerServices.TupleElementNamesAttribute

Additional Documentation

License

System.ValueTuple is released as open source under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.