I need to implement a
Dictionary<int, Tuple<string, double, double>>
in C# in VS2013.
The dictionary holds
Dictionary<3, Tuple<"id1", 65.97, 9.8>>
I need to give a name for each element in the tuple. For example,
Dictionary<3, Tuple<id:id1, value1:65.97, value2:9.8>>
I need to search an element in the tuple by their name to get its value.
Any help would be appreciated.
Tupleis a type that specifically doesn't have names by design.