I consider updating my System.ValueTuple
references from 4.4.0 to (current) 4.5.0.
To avoid regressions, I'd like to find out what changed between those two releases. The nuget page says:
Release Notes
https://go.microsoft.com/fwlink/?LinkID=799421
which links to the .NET Core github repository.
Is the "Release Notes" link broken or does the .NET Core github repository actually contain the changelog for System.ValueTuple
? If the latter, where exactly is it? I tried searching for System.ValueTuple
in the repository, which yields a few results but did not help me find the changes between version 4.4.0 and 4.5.0.
A ValueTuple is a structure introduced in C# 7.0. A ValueTuple overcomes two major limitations of tuples—namely, that they are inefficient and that they must be referenced as Item1, Item2, etc. That is, ValueTuples are both performant and referenceable by names the programmer chooses.
The end result - C# tuples are extremely lightweight constructs - they are structs and their elements are mutable and directly addressable.
The sourcecode for System.ValueTuple can be found here.
According to the Nuget-History, Version 4.4.0 was released on 09.08.2017 and 4.5.0 was released on 29.05.2018.
So, according to the git history, this is the only commit that has been made within this timeframe (fixing a documentation typo):
public T1 Item1;
/// <summary>
- /// The current <see cref="ValueTuple{T1, T2}"/> instance's first component.
+ /// The current <see cref="ValueTuple{T1, T2}"/> instance's second component.
/// </summary>
public T2 Item2;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With