I recently used a Tuple, which is a newish .NET compound key structure. Need to look up something in a data set using 4 keys? You can use a Dictionary with a Tuple key. What if you want to be able to return more than one row for each key? Use a Lookup with a Tuple key.

This entry was posted on Thursday, February 21st, 2013 at 12:22 pm and is filed under programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply