Is it possible to declare a ValueTuple as a value in a Dictionary, and include names for the items in the ValueTuple?
I've tried:
var x = new Dictionary<String, ValueTuple<name: String, id: String> = {...}
but I didn't really expect that to work, but then neither did this:
var x = new Dictionary<String, ValueTuple<String, String>> = {
{ "mary", (name: "foo", id: "green") }}
note that the previous declaration works without mentioning name and id, but then I can't then access the tuple members by name..
var x = new Dictionary<String, ValueTuple<String, String>> = {
{ "mary", ("foo", "green") }}
var y = x["mary"].foo // won't work