title: How to add to a generic TList<Value, TDictionary> in Delphi
body: <p>I'm trying to use a generic dictionary of objects where they key is a string, and the value is a TDictionary.  Is this possible?  I don't see why not, but I don't know what the syntax would be to add to the dictionary.  I've tried a few things but can't quite get it right.  Perhaps TPair has to be used somehow.  </p>
  
  <p>This code demonstrates what I'm trying to do (it doesn't compile, not enough parameters in AddOrSetValue).</p>
  
  <pre><code>program DictTest;
  
  {$APPTYPE CONSOLE}
  
  uses
    SysUtils, Generics.Collections;
  
  type
    TLookup = TDictionary&lt;integer, integer&gt;;
    TCache = TDictionary&lt;string, TLookup&gt;;
  
  var
    Cache : TCache;
  
  begin
    Cache := TCache.Create;
    try
      Cache.AddOrSetValue['Hi', ([1, 2])];
    finally
      Cache.Free;
    end;
  end.
  </code></pre>