Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I wrote a ToMultiKeyDictionary() extension for this answer and posted it as an answer below Commented Jan 21, 2014 at 23:04
  • This works great in Unity where Tuple is not available!!! Note that u need using System.Linq; Commented Oct 8, 2018 at 3:57
  • Works well when both values put together function as a unique key. Commented May 16, 2023 at 20:38
  • I am using 4 keys and a value. How to get all values without passing any key? Commented Sep 10, 2024 at 14:11