{"action":"closed","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/988","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/988/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/988/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/988/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/988","id":135113944,"number":988,"title":"List ConvertAll not supported.","user":{"login":"michaelcheers","id":10186738,"avatar_url":"https://avatars.githubusercontent.com/u/10186738?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcheers","html_url":"https://github.com/michaelcheers","followers_url":"https://api.github.com/users/michaelcheers/followers","following_url":"https://api.github.com/users/michaelcheers/following{/other_user}","gists_url":"https://api.github.com/users/michaelcheers/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcheers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcheers/subscriptions","organizations_url":"https://api.github.com/users/michaelcheers/orgs","repos_url":"https://api.github.com/users/michaelcheers/repos","events_url":"https://api.github.com/users/michaelcheers/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcheers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/feature","name":"feature","color":"2ECC40"}],"state":"closed","locked":false,"assignee":{"login":"LeonidVeriga","id":11466613,"avatar_url":"https://avatars.githubusercontent.com/u/11466613?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonidVeriga","html_url":"https://github.com/LeonidVeriga","followers_url":"https://api.github.com/users/LeonidVeriga/followers","following_url":"https://api.github.com/users/LeonidVeriga/following{/other_user}","gists_url":"https://api.github.com/users/LeonidVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidVeriga/subscriptions","organizations_url":"https://api.github.com/users/LeonidVeriga/orgs","repos_url":"https://api.github.com/users/LeonidVeriga/repos","events_url":"https://api.github.com/users/LeonidVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidVeriga/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/20","html_url":"https://github.com/bridgedotnet/Bridge/milestones/1.11.1","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/20/labels","id":1607043,"number":20,"title":"1.11.1","description":"","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":15,"state":"open","created_at":"2016-02-26T01:12:43Z","updated_at":"2016-02-29T11:26:25Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-20T19:51:48Z","updated_at":"2016-02-29T11:26:25Z","closed_at":"2016-02-29T11:26:25Z","body":"The normal behavior is:\r\n\r\n```c#\r\nList<string> list = new List<string>{\"1\", \"2\", \"3\"};\r\nList<int> converted = list.ConvertAll(int.Parse);\r\n```\r\nI have to now do:\r\n\r\n```c#\r\nList<string> list = new List<string>{\"1\", \"2\", \"3\"};\r\nList<int> converted = new List<int>();\r\nlist.ForEach(v => converted.Add(int.Parse(v)));\r\n```\r\ninstead.\r\n\r\nI have a defenition for it:\r\n\r\n```c#\r\npublic static List<T2> ConvertAll<T,T2> (this IEnumerable<T> value, Func<T, T2> function)\r\n        {\r\n            List<T2> result = new List<T2>();\r\n            foreach (T item in value)\r\n            {\r\n                result.Add(function(item));\r\n            }\r\n            return result;\r\n        }\r\n```"}}