Using Tuples in C# to Initialize Properties in the Constructor and to Deconstruct Your Object by @thomasclaudiush thomasclaudiushuber.com
Since C# 7.0 you can use tuples in your code and you can also use expression bodied constructors. These two features allow you to write constructors in a more compact syntax that you see above. You see this syntax also quite often in code samples and also in the official .NET documentation.
Report Story
Leave Your Comment