public void Foo(IDictionary xs) { } Foo(new Dictionary { { "foo", "bar" }, { "schmoo", "schmar" } });