How i can return list with anonymous type, because with this code i get
\"The type or namespace name \'T\' could not be found (are you missing a using directive or a
You can return the type:NameValueCollection or KeyValuePair instead. anonymous type can not be the return type.