Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A value tuple is a data structure that has a specific number and sequence of values. .NET provides the following built-in value tuple types:
The value tuple types differ from the tuple types (such as Tuple<T1,T2>) as follows:
The value tuple types provide the runtime implementation that supports tuples in C# and struct tuples in F#. In addition to creating a ValueTuple<T1,T2> instance by using language syntax, you can call the Create factory method.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowTraining
Module
Choose the correct data type in your C# code - Training
Choose the correct data type for your code from several basic types used in C#.