title: Dictionaries and DotLiquid
body: <p>I have a basic .NET Dictionary (Dictionary). In my ToLiquid method I do indeed serialize/expose the Dictionary object. My question is how can I ITERATE over the keys in a liquid template just as you would do in regular .NET? It seems as though you MUST know the actual key in order to access the value in the liquid template.</p>
  
  <p>I understand that you could access the value in the liquid template like such</p>
  
  <p>item.dictionary["myKey"]</p>
  
  <p>However I don't know the actual key, so I would prefer to use the "for" construct in DotLiquid to iterate over the keys in order to get the various values. Since the "for" construct works on collections and Dictionary is a collection I thought this could be done somehow but all permutations that I have tried have failed.</p>
  
  <p>Any help would greatly be appreciated.</p>