Skip to content

Instantly share code, notes, and snippets.

@nikmd23
Created August 27, 2015 17:59
Show Gist options
  • Save nikmd23/f3df381a6ab7157a5dd5 to your computer and use it in GitHub Desktop.
Save nikmd23/f3df381a6ab7157a5dd5 to your computer and use it in GitHub Desktop.
Func<Foo, IDictionary<string, object>> func = f => {
var result = new Dictionary();
result.Add("one", f.Name);
result.Add("two", f.Id);
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment