I need to return an IEnumerable of a dynamically created Dictionary.
pseudo code:
var x = from u in Users
select new dictionary<string, string>{
Add("Name",u.Name),
Add("LastName",u.LastName)
}
I've been trying many ways to get the pseudo code example above but no success...
I would really appreciate your help.