using System.Collections.Generic;
public static void Main()
dynamic hashmap = new ExpandoObject();
var hashDic = (IDictionary<string, object>)hashmap;
string prefix = "This is a Prefix: ";
var man = new Action<string>(param => Console.WriteLine(prefix + param));
foreach (var kvp in hashDic)
man(kvp.Key + " - " + kvp.Value);