{"action":"created","issue":{"url":"https://api.github.com/repos/schourode/iso3166/issues/3","labels_url":"https://api.github.com/repos/schourode/iso3166/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/schourode/iso3166/issues/3/comments","events_url":"https://api.github.com/repos/schourode/iso3166/issues/3/events","html_url":"https://github.com/schourode/iso3166/pull/3","id":86154914,"number":3,"title":"add search by 2,3 letter codes; tests; readme","user":{"login":"tbudurovych","id":560824,"avatar_url":"https://avatars.githubusercontent.com/u/560824?v=3","gravatar_id":"","url":"https://api.github.com/users/tbudurovych","html_url":"https://github.com/tbudurovych","followers_url":"https://api.github.com/users/tbudurovych/followers","following_url":"https://api.github.com/users/tbudurovych/following{/other_user}","gists_url":"https://api.github.com/users/tbudurovych/gists{/gist_id}","starred_url":"https://api.github.com/users/tbudurovych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbudurovych/subscriptions","organizations_url":"https://api.github.com/users/tbudurovych/orgs","repos_url":"https://api.github.com/users/tbudurovych/repos","events_url":"https://api.github.com/users/tbudurovych/events{/privacy}","received_events_url":"https://api.github.com/users/tbudurovych/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T12:23:07Z","updated_at":"2015-08-04T13:58:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/schourode/iso3166/pulls/3","html_url":"https://github.com/schourode/iso3166/pull/3","diff_url":"https://github.com/schourode/iso3166/pull/3.diff","patch_url":"https://github.com/schourode/iso3166/pull/3.patch"},"body":"while working with the library i had a task to find a letter 3 code by letter 2 code, and vice versa.\r\nSo I thought it may be useful to add such case-insensitive lookup functions: `FindBy2Code`, `FindBy3Code`.\r\n\r\nImplementation - library is still on .net 2.0, so I was not able to do it with Linq, and done with internal dictionaries instead."},"comment":{"url":"https://api.github.com/repos/schourode/iso3166/issues/comments/127621846","html_url":"https://github.com/schourode/iso3166/pull/3#issuecomment-127621846","issue_url":"https://api.github.com/repos/schourode/iso3166/issues/3","id":127621846,"user":{"login":"tbudurovych","id":560824,"avatar_url":"https://avatars.githubusercontent.com/u/560824?v=3","gravatar_id":"","url":"https://api.github.com/users/tbudurovych","html_url":"https://github.com/tbudurovych","followers_url":"https://api.github.com/users/tbudurovych/followers","following_url":"https://api.github.com/users/tbudurovych/following{/other_user}","gists_url":"https://api.github.com/users/tbudurovych/gists{/gist_id}","starred_url":"https://api.github.com/users/tbudurovych/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbudurovych/subscriptions","organizations_url":"https://api.github.com/users/tbudurovych/orgs","repos_url":"https://api.github.com/users/tbudurovych/repos","events_url":"https://api.github.com/users/tbudurovych/events{/privacy}","received_events_url":"https://api.github.com/users/tbudurovych/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T13:58:02Z","updated_at":"2015-08-04T13:58:02Z","body":"Jørn, I hope you have had a great vacation.\r\n\r\nMy motivation of adding those lookups was to put some reusable API-like code under .NET 2.0 world. List is not very \"searchable\" under pre-Linq c# as we know.\r\n\r\nHowever I understand your reasoning around _\"provide the list of countries and leave it to the user to decide what to do with it\"_ and have no problems with it and having this PR closed.\r\n\r\nGreat idea of adding README, that may save few minutes for both .NET 2.0 and Linq users."}}