{"action":"created","comment":{"url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/comments/172632111","pull_request_review_id":101682829,"id":172632111,"diff_hunk":"@@ -0,0 +1,72 @@\n+﻿using System;\n+using System.Text;\n+\n+namespace DevTask3\n+{\n+    /// <summary> \n+    /// translationIntoNewSystem\n+    /// creates a string that is a translation of a number into another number system\n+    /// </summary>\n+    public class translationIntoNewSystem\n+    {\n+        private long numberForConversion;\n+        private long foundationOfNewSystem;\n+\n+        public translationIntoNewSystem(string[] valuesNumberAndBaseOfSystem)\n+        {\n+            numberForConversion = Convert.ToInt64(valuesNumberAndBaseOfSystem[0]);\n+            foundationOfNewSystem = Convert.ToInt64(valuesNumberAndBaseOfSystem[1]);\n+        }\n+\n+        /// <summary> \n+        /// Method CreateSubstringOfEvenElements\n+        /// A method that creates a string that is a representation of a number in the new number system\n+        /// </summary> \n+        /// <returns>Value In New System</returns>\n+        public string CreatingRepresentationOfNumberInNewSystem()\n+        {\n+            StringBuilder valueInNewSystem = new StringBuilder();\n+            long nextNumberToAdd;\n+            do\n+            {\n+                nextNumberToAdd = numberForConversion % foundationOfNewSystem;\n+                valueInNewSystem.Append(ConvertingFigureToRepresentationInAnotherSystem(nextNumberToAdd));\n+                numberForConversion = numberForConversion / foundationOfNewSystem;\n+            } while (0 != numberForConversion);\n+            string ConvertedString;\n+            ConvertedString = valueInNewSystem.ToString();\n+\n+            return reverseString(ConvertedString);\n+        }\n+        /// <summary> \n+        /// ConvertingFigureToRepresentationInAnotherSystem\n+        /// Function for converting numbers to a new number system\n+        /// </summary> \n+        /// <param name=\"digitForTranslation\">number to convert to a new system</param> \n+        /// <returns>Figure In New System</returns>\n+        private string ConvertingFigureToRepresentationInAnotherSystem (long digitForTranslation)\n+        {\n+            char figureInNewSystem;\n+            int index;\n+            index = Convert.ToInt16(digitForTranslation);\n+            var possibleValuesOfElementsInNewView = \"0123456789ABCDEFGHIJ\";\n+            figureInNewSystem = possibleValuesOfElementsInNewView[index];\n+            return Convert.ToString(figureInNewSystem);\n+        }\n+        /// <summary> \n+        /// reverseString\n+        /// Function to create a string of characters in which go in reverse order\n+        /// </summary> \n+        /// <param name=\"stringToReverse\">The string you need to revers</param> \n+        /// <returns>Reversed String</returns>\n+        private string reverseString(string stringToReverse)","path":"HomeTask3/HomeTask3/translationIntoNewSystem.cs","position":62,"original_position":62,"commit_id":"fd4e6a7ad9330a8a90e7fa319fba1c09e42edd84","original_commit_id":"fd4e6a7ad9330a8a90e7fa319fba1c09e42edd84","user":{"login":"YauheniLoban","id":36936319,"avatar_url":"https://avatars2.githubusercontent.com/u/36936319?v=4","gravatar_id":"","url":"https://api.github.com/users/YauheniLoban","html_url":"https://github.com/YauheniLoban","followers_url":"https://api.github.com/users/YauheniLoban/followers","following_url":"https://api.github.com/users/YauheniLoban/following{/other_user}","gists_url":"https://api.github.com/users/YauheniLoban/gists{/gist_id}","starred_url":"https://api.github.com/users/YauheniLoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YauheniLoban/subscriptions","organizations_url":"https://api.github.com/users/YauheniLoban/orgs","repos_url":"https://api.github.com/users/YauheniLoban/repos","events_url":"https://api.github.com/users/YauheniLoban/events{/privacy}","received_events_url":"https://api.github.com/users/YauheniLoban/received_events","type":"User","site_admin":false},"body":"too many times used String?","created_at":"2018-03-06T19:27:44Z","updated_at":"2018-03-06T19:27:44Z","html_url":"https://github.com/YauheniLoban/TAT_2018/pull/3#discussion_r172632111","pull_request_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/comments/172632111"},"html":{"href":"https://github.com/YauheniLoban/TAT_2018/pull/3#discussion_r172632111"},"pull_request":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3"}},"in_reply_to_id":172622625},"pull_request":{"url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3","id":173080124,"html_url":"https://github.com/YauheniLoban/TAT_2018/pull/3","diff_url":"https://github.com/YauheniLoban/TAT_2018/pull/3.diff","patch_url":"https://github.com/YauheniLoban/TAT_2018/pull/3.patch","issue_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/3","number":3,"state":"open","locked":false,"title":"task_DEV-3","user":{"login":"YauheniLoban","id":36936319,"avatar_url":"https://avatars2.githubusercontent.com/u/36936319?v=4","gravatar_id":"","url":"https://api.github.com/users/YauheniLoban","html_url":"https://github.com/YauheniLoban","followers_url":"https://api.github.com/users/YauheniLoban/followers","following_url":"https://api.github.com/users/YauheniLoban/following{/other_user}","gists_url":"https://api.github.com/users/YauheniLoban/gists{/gist_id}","starred_url":"https://api.github.com/users/YauheniLoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YauheniLoban/subscriptions","organizations_url":"https://api.github.com/users/YauheniLoban/orgs","repos_url":"https://api.github.com/users/YauheniLoban/repos","events_url":"https://api.github.com/users/YauheniLoban/events{/privacy}","received_events_url":"https://api.github.com/users/YauheniLoban/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-06T07:43:35Z","updated_at":"2018-03-06T19:27:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bec9daed6d547ce77f983be7427d2240ddc9fad","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3/commits","review_comments_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3/comments","review_comment_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/3/comments","statuses_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/statuses/fd4e6a7ad9330a8a90e7fa319fba1c09e42edd84","head":{"label":"YauheniLoban:task_DEV-3","ref":"task_DEV-3","sha":"fd4e6a7ad9330a8a90e7fa319fba1c09e42edd84","user":{"login":"YauheniLoban","id":36936319,"avatar_url":"https://avatars2.githubusercontent.com/u/36936319?v=4","gravatar_id":"","url":"https://api.github.com/users/YauheniLoban","html_url":"https://github.com/YauheniLoban","followers_url":"https://api.github.com/users/YauheniLoban/followers","following_url":"https://api.github.com/users/YauheniLoban/following{/other_user}","gists_url":"https://api.github.com/users/YauheniLoban/gists{/gist_id}","starred_url":"https://api.github.com/users/YauheniLoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YauheniLoban/subscriptions","organizations_url":"https://api.github.com/users/YauheniLoban/orgs","repos_url":"https://api.github.com/users/YauheniLoban/repos","events_url":"https://api.github.com/users/YauheniLoban/events{/privacy}","received_events_url":"https://api.github.com/users/YauheniLoban/received_events","type":"User","site_admin":false},"repo":{"id":123566314,"name":"TAT_2018","full_name":"YauheniLoban/TAT_2018","owner":{"login":"YauheniLoban","id":36936319,"avatar_url":"https://avatars2.githubusercontent.com/u/36936319?v=4","gravatar_id":"","url":"https://api.github.com/users/YauheniLoban","html_url":"https://github.com/YauheniLoban","followers_url":"https://api.github.com/users/YauheniLoban/followers","following_url":"https://api.github.com/users/YauheniLoban/following{/other_user}","gists_url":"https://api.github.com/users/YauheniLoban/gists{/gist_id}","starred_url":"https://api.github.com/users/YauheniLoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YauheniLoban/subscriptions","organizations_url":"https://api.github.com/users/YauheniLoban/orgs","repos_url":"https://api.github.com/users/YauheniLoban/repos","events_url":"https://api.github.com/users/YauheniLoban/events{/privacy}","received_events_url":"https://api.github.com/users/YauheniLoban/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YauheniLoban/TAT_2018","description":"ETC","fork":false,"url":"https://api.github.com/repos/YauheniLoban/TAT_2018","forks_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/forks","keys_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/teams","hooks_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/hooks","issue_events_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/events{/number}","events_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/events","assignees_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/assignees{/user}","branches_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/branches{/branch}","tags_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/tags","blobs_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/statuses/{sha}","languages_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/languages","stargazers_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/stargazers","contributors_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/contributors","subscribers_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/subscribers","subscription_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/subscription","commits_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/contents/{+path}","compare_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/merges","archive_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/downloads","issues_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues{/number}","pulls_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls{/number}","milestones_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/milestones{/number}","notifications_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/labels{/name}","releases_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/releases{/id}","deployments_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/deployments","created_at":"2018-03-02T10:33:33Z","updated_at":"2018-03-04T08:51:13Z","pushed_at":"2018-03-06T15:28:06Z","git_url":"git://github.com/YauheniLoban/TAT_2018.git","ssh_url":"git@github.com:YauheniLoban/TAT_2018.git","clone_url":"https://github.com/YauheniLoban/TAT_2018.git","svn_url":"https://github.com/YauheniLoban/TAT_2018","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"YauheniLoban:master","ref":"master","sha":"0a66d5e4d3f87c3f93c6dae84f4e8392cba030f1","user":{"login":"YauheniLoban","id":36936319,"avatar_url":"https://avatars2.githubusercontent.com/u/36936319?v=4","gravatar_id":"","url":"https://api.github.com/users/YauheniLoban","html_url":"https://github.com/YauheniLoban","followers_url":"https://api.github.com/users/YauheniLoban/followers","following_url":"https://api.github.com/users/YauheniLoban/following{/other_user}","gists_url":"https://api.github.com/users/YauheniLoban/gists{/gist_id}","starred_url":"https://api.github.com/users/YauheniLoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YauheniLoban/subscriptions","organizations_url":"https://api.github.com/users/YauheniLoban/orgs","repos_url":"https://api.github.com/users/YauheniLoban/repos","events_url":"https://api.github.com/users/YauheniLoban/events{/privacy}","received_events_url":"https://api.github.com/users/YauheniLoban/received_events","type":"User","site_admin":false},"repo":{"id":123566314,"name":"TAT_2018","full_name":"YauheniLoban/TAT_2018","owner":{"login":"YauheniLoban","id":36936319,"avatar_url":"https://avatars2.githubusercontent.com/u/36936319?v=4","gravatar_id":"","url":"https://api.github.com/users/YauheniLoban","html_url":"https://github.com/YauheniLoban","followers_url":"https://api.github.com/users/YauheniLoban/followers","following_url":"https://api.github.com/users/YauheniLoban/following{/other_user}","gists_url":"https://api.github.com/users/YauheniLoban/gists{/gist_id}","starred_url":"https://api.github.com/users/YauheniLoban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YauheniLoban/subscriptions","organizations_url":"https://api.github.com/users/YauheniLoban/orgs","repos_url":"https://api.github.com/users/YauheniLoban/repos","events_url":"https://api.github.com/users/YauheniLoban/events{/privacy}","received_events_url":"https://api.github.com/users/YauheniLoban/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YauheniLoban/TAT_2018","description":"ETC","fork":false,"url":"https://api.github.com/repos/YauheniLoban/TAT_2018","forks_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/forks","keys_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/teams","hooks_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/hooks","issue_events_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/events{/number}","events_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/events","assignees_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/assignees{/user}","branches_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/branches{/branch}","tags_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/tags","blobs_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/statuses/{sha}","languages_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/languages","stargazers_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/stargazers","contributors_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/contributors","subscribers_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/subscribers","subscription_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/subscription","commits_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/contents/{+path}","compare_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/merges","archive_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/downloads","issues_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues{/number}","pulls_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls{/number}","milestones_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/milestones{/number}","notifications_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/labels{/name}","releases_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/releases{/id}","deployments_url":"https://api.github.com/repos/YauheniLoban/TAT_2018/deployments","created_at":"2018-03-02T10:33:33Z","updated_at":"2018-03-04T08:51:13Z","pushed_at":"2018-03-06T15:28:06Z","git_url":"git://github.com/YauheniLoban/TAT_2018.git","ssh_url":"git@github.com:YauheniLoban/TAT_2018.git","clone_url":"https://github.com/YauheniLoban/TAT_2018.git","svn_url":"https://github.com/YauheniLoban/TAT_2018","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3"},"html":{"href":"https://github.com/YauheniLoban/TAT_2018/pull/3"},"issue":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/3"},"comments":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/YauheniLoban/TAT_2018/statuses/fd4e6a7ad9330a8a90e7fa319fba1c09e42edd84"}},"author_association":"OWNER"}}
{"actor":{"display_login":"YauheniLoban"}}