{"action":"created","comment":{"url":"https://api.github.com/repos/dtep/Euler1/pulls/comments/42143327","id":42143327,"diff_hunk":"@@ -19,10 +55,48 @@ public static bool IsMultiplied(this int param, int[] multipliers)\n             return false;\n         }\n \n-        //Calculate the sum of all multipliers of 3 and 5 for numbers from 1 to 1000\n+        \n+        //Genegate  array of prime numbers from 2 to Limit\n+        public static List<long> GeneratePrimeList(long Limit)\n+        {\n+            bool isPrime = false;\n+            List<long> primeList = new List<long>();\n+            primeList.Add(2);\n+            primeList.Add(3);\n+\n+\n+            for (long i = 4; i < Limit; i++)","path":"Euler1/EulerProblemSolver.cs","position":61,"original_position":61,"commit_id":"5bc76e95137a1ae7505a5096470584d5713014d2","original_commit_id":"5bc76e95137a1ae7505a5096470584d5713014d2","user":{"login":"SergeyTeplyakov","id":726448,"avatar_url":"https://avatars.githubusercontent.com/u/726448?v=3","gravatar_id":"","url":"https://api.github.com/users/SergeyTeplyakov","html_url":"https://github.com/SergeyTeplyakov","followers_url":"https://api.github.com/users/SergeyTeplyakov/followers","following_url":"https://api.github.com/users/SergeyTeplyakov/following{/other_user}","gists_url":"https://api.github.com/users/SergeyTeplyakov/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeyTeplyakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeyTeplyakov/subscriptions","organizations_url":"https://api.github.com/users/SergeyTeplyakov/orgs","repos_url":"https://api.github.com/users/SergeyTeplyakov/repos","events_url":"https://api.github.com/users/SergeyTeplyakov/events{/privacy}","received_events_url":"https://api.github.com/users/SergeyTeplyakov/received_events","type":"User","site_admin":false},"body":"Я тебе рекомендую хотя бы добавить TODO по моим замечаниям. Например, что можно переписать это в более простом виде, который я предложил.\r\n\r\nКак я там написал: цель упражнения, сделать код максимально выразительным. Текущий же код все еще делает слишком многое, и, если тебя интересует эффективность, то он еще делает это крайне медленно, выполняя слишком много не нужной работы.\r\n\r\nК тому же, тебе все равно придется это изменять, когда будут попадаться другие задачи, завязанные на простые числа...","created_at":"2015-10-15T15:58:48Z","updated_at":"2015-10-15T15:58:48Z","html_url":"https://github.com/dtep/Euler1/pull/4#discussion_r42143327","pull_request_url":"https://api.github.com/repos/dtep/Euler1/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/dtep/Euler1/pulls/comments/42143327"},"html":{"href":"https://github.com/dtep/Euler1/pull/4#discussion_r42143327"},"pull_request":{"href":"https://api.github.com/repos/dtep/Euler1/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/dtep/Euler1/pulls/4","id":47526596,"html_url":"https://github.com/dtep/Euler1/pull/4","diff_url":"https://github.com/dtep/Euler1/pull/4.diff","patch_url":"https://github.com/dtep/Euler1/pull/4.patch","issue_url":"https://api.github.com/repos/dtep/Euler1/issues/4","number":4,"state":"open","locked":false,"title":"Euler task 2 update","user":{"login":"dtep","id":12472348,"avatar_url":"https://avatars.githubusercontent.com/u/12472348?v=3","gravatar_id":"","url":"https://api.github.com/users/dtep","html_url":"https://github.com/dtep","followers_url":"https://api.github.com/users/dtep/followers","following_url":"https://api.github.com/users/dtep/following{/other_user}","gists_url":"https://api.github.com/users/dtep/gists{/gist_id}","starred_url":"https://api.github.com/users/dtep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtep/subscriptions","organizations_url":"https://api.github.com/users/dtep/orgs","repos_url":"https://api.github.com/users/dtep/repos","events_url":"https://api.github.com/users/dtep/events{/privacy}","received_events_url":"https://api.github.com/users/dtep/received_events","type":"User","site_admin":false},"body":"Created a new solution with iterators.","created_at":"2015-10-13T12:31:16Z","updated_at":"2015-10-15T15:58:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e26997fa91b190c22ebb50b1dce1903999d4de8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dtep/Euler1/pulls/4/commits","review_comments_url":"https://api.github.com/repos/dtep/Euler1/pulls/4/comments","review_comment_url":"https://api.github.com/repos/dtep/Euler1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dtep/Euler1/issues/4/comments","statuses_url":"https://api.github.com/repos/dtep/Euler1/statuses/5bc76e95137a1ae7505a5096470584d5713014d2","head":{"label":"dtep:Euler-task-2","ref":"Euler-task-2","sha":"5bc76e95137a1ae7505a5096470584d5713014d2","user":{"login":"dtep","id":12472348,"avatar_url":"https://avatars.githubusercontent.com/u/12472348?v=3","gravatar_id":"","url":"https://api.github.com/users/dtep","html_url":"https://github.com/dtep","followers_url":"https://api.github.com/users/dtep/followers","following_url":"https://api.github.com/users/dtep/following{/other_user}","gists_url":"https://api.github.com/users/dtep/gists{/gist_id}","starred_url":"https://api.github.com/users/dtep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtep/subscriptions","organizations_url":"https://api.github.com/users/dtep/orgs","repos_url":"https://api.github.com/users/dtep/repos","events_url":"https://api.github.com/users/dtep/events{/privacy}","received_events_url":"https://api.github.com/users/dtep/received_events","type":"User","site_admin":false},"repo":{"id":43974214,"name":"Euler1","full_name":"dtep/Euler1","owner":{"login":"dtep","id":12472348,"avatar_url":"https://avatars.githubusercontent.com/u/12472348?v=3","gravatar_id":"","url":"https://api.github.com/users/dtep","html_url":"https://github.com/dtep","followers_url":"https://api.github.com/users/dtep/followers","following_url":"https://api.github.com/users/dtep/following{/other_user}","gists_url":"https://api.github.com/users/dtep/gists{/gist_id}","starred_url":"https://api.github.com/users/dtep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtep/subscriptions","organizations_url":"https://api.github.com/users/dtep/orgs","repos_url":"https://api.github.com/users/dtep/repos","events_url":"https://api.github.com/users/dtep/events{/privacy}","received_events_url":"https://api.github.com/users/dtep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtep/Euler1","description":"","fork":false,"url":"https://api.github.com/repos/dtep/Euler1","forks_url":"https://api.github.com/repos/dtep/Euler1/forks","keys_url":"https://api.github.com/repos/dtep/Euler1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtep/Euler1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtep/Euler1/teams","hooks_url":"https://api.github.com/repos/dtep/Euler1/hooks","issue_events_url":"https://api.github.com/repos/dtep/Euler1/issues/events{/number}","events_url":"https://api.github.com/repos/dtep/Euler1/events","assignees_url":"https://api.github.com/repos/dtep/Euler1/assignees{/user}","branches_url":"https://api.github.com/repos/dtep/Euler1/branches{/branch}","tags_url":"https://api.github.com/repos/dtep/Euler1/tags","blobs_url":"https://api.github.com/repos/dtep/Euler1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtep/Euler1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtep/Euler1/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtep/Euler1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtep/Euler1/statuses/{sha}","languages_url":"https://api.github.com/repos/dtep/Euler1/languages","stargazers_url":"https://api.github.com/repos/dtep/Euler1/stargazers","contributors_url":"https://api.github.com/repos/dtep/Euler1/contributors","subscribers_url":"https://api.github.com/repos/dtep/Euler1/subscribers","subscription_url":"https://api.github.com/repos/dtep/Euler1/subscription","commits_url":"https://api.github.com/repos/dtep/Euler1/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtep/Euler1/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtep/Euler1/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtep/Euler1/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtep/Euler1/contents/{+path}","compare_url":"https://api.github.com/repos/dtep/Euler1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtep/Euler1/merges","archive_url":"https://api.github.com/repos/dtep/Euler1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtep/Euler1/downloads","issues_url":"https://api.github.com/repos/dtep/Euler1/issues{/number}","pulls_url":"https://api.github.com/repos/dtep/Euler1/pulls{/number}","milestones_url":"https://api.github.com/repos/dtep/Euler1/milestones{/number}","notifications_url":"https://api.github.com/repos/dtep/Euler1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtep/Euler1/labels{/name}","releases_url":"https://api.github.com/repos/dtep/Euler1/releases{/id}","created_at":"2015-10-09T18:53:31Z","updated_at":"2015-10-09T18:53:37Z","pushed_at":"2015-10-14T19:52:59Z","git_url":"git://github.com/dtep/Euler1.git","ssh_url":"git@github.com:dtep/Euler1.git","clone_url":"https://github.com/dtep/Euler1.git","svn_url":"https://github.com/dtep/Euler1","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"dtep:master","ref":"master","sha":"3dc56d03c1bad97beebecf09230015b29da8f434","user":{"login":"dtep","id":12472348,"avatar_url":"https://avatars.githubusercontent.com/u/12472348?v=3","gravatar_id":"","url":"https://api.github.com/users/dtep","html_url":"https://github.com/dtep","followers_url":"https://api.github.com/users/dtep/followers","following_url":"https://api.github.com/users/dtep/following{/other_user}","gists_url":"https://api.github.com/users/dtep/gists{/gist_id}","starred_url":"https://api.github.com/users/dtep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtep/subscriptions","organizations_url":"https://api.github.com/users/dtep/orgs","repos_url":"https://api.github.com/users/dtep/repos","events_url":"https://api.github.com/users/dtep/events{/privacy}","received_events_url":"https://api.github.com/users/dtep/received_events","type":"User","site_admin":false},"repo":{"id":43974214,"name":"Euler1","full_name":"dtep/Euler1","owner":{"login":"dtep","id":12472348,"avatar_url":"https://avatars.githubusercontent.com/u/12472348?v=3","gravatar_id":"","url":"https://api.github.com/users/dtep","html_url":"https://github.com/dtep","followers_url":"https://api.github.com/users/dtep/followers","following_url":"https://api.github.com/users/dtep/following{/other_user}","gists_url":"https://api.github.com/users/dtep/gists{/gist_id}","starred_url":"https://api.github.com/users/dtep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtep/subscriptions","organizations_url":"https://api.github.com/users/dtep/orgs","repos_url":"https://api.github.com/users/dtep/repos","events_url":"https://api.github.com/users/dtep/events{/privacy}","received_events_url":"https://api.github.com/users/dtep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtep/Euler1","description":"","fork":false,"url":"https://api.github.com/repos/dtep/Euler1","forks_url":"https://api.github.com/repos/dtep/Euler1/forks","keys_url":"https://api.github.com/repos/dtep/Euler1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtep/Euler1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtep/Euler1/teams","hooks_url":"https://api.github.com/repos/dtep/Euler1/hooks","issue_events_url":"https://api.github.com/repos/dtep/Euler1/issues/events{/number}","events_url":"https://api.github.com/repos/dtep/Euler1/events","assignees_url":"https://api.github.com/repos/dtep/Euler1/assignees{/user}","branches_url":"https://api.github.com/repos/dtep/Euler1/branches{/branch}","tags_url":"https://api.github.com/repos/dtep/Euler1/tags","blobs_url":"https://api.github.com/repos/dtep/Euler1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtep/Euler1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtep/Euler1/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtep/Euler1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtep/Euler1/statuses/{sha}","languages_url":"https://api.github.com/repos/dtep/Euler1/languages","stargazers_url":"https://api.github.com/repos/dtep/Euler1/stargazers","contributors_url":"https://api.github.com/repos/dtep/Euler1/contributors","subscribers_url":"https://api.github.com/repos/dtep/Euler1/subscribers","subscription_url":"https://api.github.com/repos/dtep/Euler1/subscription","commits_url":"https://api.github.com/repos/dtep/Euler1/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtep/Euler1/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtep/Euler1/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtep/Euler1/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtep/Euler1/contents/{+path}","compare_url":"https://api.github.com/repos/dtep/Euler1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtep/Euler1/merges","archive_url":"https://api.github.com/repos/dtep/Euler1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtep/Euler1/downloads","issues_url":"https://api.github.com/repos/dtep/Euler1/issues{/number}","pulls_url":"https://api.github.com/repos/dtep/Euler1/pulls{/number}","milestones_url":"https://api.github.com/repos/dtep/Euler1/milestones{/number}","notifications_url":"https://api.github.com/repos/dtep/Euler1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtep/Euler1/labels{/name}","releases_url":"https://api.github.com/repos/dtep/Euler1/releases{/id}","created_at":"2015-10-09T18:53:31Z","updated_at":"2015-10-09T18:53:37Z","pushed_at":"2015-10-14T19:52:59Z","git_url":"git://github.com/dtep/Euler1.git","ssh_url":"git@github.com:dtep/Euler1.git","clone_url":"https://github.com/dtep/Euler1.git","svn_url":"https://github.com/dtep/Euler1","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dtep/Euler1/pulls/4"},"html":{"href":"https://github.com/dtep/Euler1/pull/4"},"issue":{"href":"https://api.github.com/repos/dtep/Euler1/issues/4"},"comments":{"href":"https://api.github.com/repos/dtep/Euler1/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/dtep/Euler1/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/dtep/Euler1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dtep/Euler1/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/dtep/Euler1/statuses/5bc76e95137a1ae7505a5096470584d5713014d2"}}}}