title: Hashtable with MultiDimensional Key in C#
body: <p>I'm basically looking for a way to access a hashtable value using a two-dimensional typed key in c#.</p>
  
  <p>Eventually I would be able to do something like this </p>
  
  <pre><code>HashTable[1][false] = 5;
  int a = HashTable[1][false];
  //a = 5
  </code></pre>
  
  <p>This is what I've been trying...hasn't worked</p>
  
  <pre><code>Hashtable test = new Hashtable();
  test.Add(new Dictionary&lt;int, bool&gt;() { { 1, true } }, 555);
  Dictionary&lt;int, bool&gt; temp = new Dictionary&lt;int, bool&gt;() {{1, true}};
  string testz = test[temp].ToString(); 
  </code></pre>