in this example, there is a variable declaration that I haven't seen before and don't know what it is:
var jh = (firstName: "Jupiter", lastName: "Hammon", born: 1711, published: 1761);
there is Anonymous Types in C# but it uses curly braces.
the jh.GetType()
returns
System.ValueTuple 4[System.String,System.String,System.Int32,System.Int32]
but ValueTuple
generics are not key-value pairs. they have some items. this syntax is more like a dictionary of named fields.
so my question is what is this syntax called? I'm looking for Microsoft docs page for getting documentation and details about this syntax.