{"action":"created","comment":{"url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/comments/34136422","id":34136422,"diff_hunk":"@@ -0,0 +1,58 @@\n+﻿using System;\n+using System.Collections.Generic;\n+using System.Linq;\n+using System.Text;\n+using System.Threading.Tasks;\n+using OperatorOverloading;\n+\n+namespace OperatorOverloading\n+{\n+    class Host\n+    {\n+        static void Main(string[] args)\n+        {\n+           \n+            double amount;\n+            string currency;\n+            Money moneyOne;\n+            Money moneyTwo;\n+            Money moneyThree;\n+\n+            try\n+            {\n+\n+\n+                Console.WriteLine(\"Enter the Curreny type  USD/INR and the amount \");\n+                currency = Console.ReadLine();\n+                double.TryParse(Console.ReadLine(), out amount);","path":"01 OperatorOverloading/OperatorOverloading.Host/Host.cs","position":27,"original_position":27,"commit_id":"52f39bcb4f07a2eb17ff4f2b5e6a80166f83d59c","original_commit_id":"52f39bcb4f07a2eb17ff4f2b5e6a80166f83d59c","user":{"login":"apalsapure","id":2037979,"avatar_url":"https://avatars.githubusercontent.com/u/2037979?v=3","gravatar_id":"","url":"https://api.github.com/users/apalsapure","html_url":"https://github.com/apalsapure","followers_url":"https://api.github.com/users/apalsapure/followers","following_url":"https://api.github.com/users/apalsapure/following{/other_user}","gists_url":"https://api.github.com/users/apalsapure/gists{/gist_id}","starred_url":"https://api.github.com/users/apalsapure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apalsapure/subscriptions","organizations_url":"https://api.github.com/users/apalsapure/orgs","repos_url":"https://api.github.com/users/apalsapure/repos","events_url":"https://api.github.com/users/apalsapure/events{/privacy}","received_events_url":"https://api.github.com/users/apalsapure/received_events","type":"User","site_admin":false},"body":"That's why a constructor which accepts `100 USD` helps the consumer. By doing so all the validation is done by the `Money` class.","created_at":"2015-07-08T11:05:16Z","updated_at":"2015-07-08T11:05:16Z","html_url":"https://github.com/tavisca-mdixit/Training/pull/1#discussion_r34136422","pull_request_url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/comments/34136422"},"html":{"href":"https://github.com/tavisca-mdixit/Training/pull/1#discussion_r34136422"},"pull_request":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1","id":39341661,"html_url":"https://github.com/tavisca-mdixit/Training/pull/1","diff_url":"https://github.com/tavisca-mdixit/Training/pull/1.diff","patch_url":"https://github.com/tavisca-mdixit/Training/pull/1.patch","issue_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues/1","number":1,"state":"open","locked":false,"title":"Pushing OperatorOverloading","user":{"login":"tavisca-mdixit","id":13133992,"avatar_url":"https://avatars.githubusercontent.com/u/13133992?v=3","gravatar_id":"","url":"https://api.github.com/users/tavisca-mdixit","html_url":"https://github.com/tavisca-mdixit","followers_url":"https://api.github.com/users/tavisca-mdixit/followers","following_url":"https://api.github.com/users/tavisca-mdixit/following{/other_user}","gists_url":"https://api.github.com/users/tavisca-mdixit/gists{/gist_id}","starred_url":"https://api.github.com/users/tavisca-mdixit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavisca-mdixit/subscriptions","organizations_url":"https://api.github.com/users/tavisca-mdixit/orgs","repos_url":"https://api.github.com/users/tavisca-mdixit/repos","events_url":"https://api.github.com/users/tavisca-mdixit/events{/privacy}","received_events_url":"https://api.github.com/users/tavisca-mdixit/received_events","type":"User","site_admin":false},"body":"@amarpalsapure  Operator Overloading with Exception handling\r\n\r\n@amarpalsapure  Please review my code ,, which is updated on the basis of comments received","created_at":"2015-07-07T07:23:51Z","updated_at":"2015-07-08T11:05:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e29feeed60939a8b8f5fd9f9dd4c88ced40ed078","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues/1/comments","statuses_url":"https://api.github.com/repos/tavisca-mdixit/Training/statuses/52f39bcb4f07a2eb17ff4f2b5e6a80166f83d59c","head":{"label":"tavisca-mdixit:OperatorOverloading","ref":"OperatorOverloading","sha":"52f39bcb4f07a2eb17ff4f2b5e6a80166f83d59c","user":{"login":"tavisca-mdixit","id":13133992,"avatar_url":"https://avatars.githubusercontent.com/u/13133992?v=3","gravatar_id":"","url":"https://api.github.com/users/tavisca-mdixit","html_url":"https://github.com/tavisca-mdixit","followers_url":"https://api.github.com/users/tavisca-mdixit/followers","following_url":"https://api.github.com/users/tavisca-mdixit/following{/other_user}","gists_url":"https://api.github.com/users/tavisca-mdixit/gists{/gist_id}","starred_url":"https://api.github.com/users/tavisca-mdixit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavisca-mdixit/subscriptions","organizations_url":"https://api.github.com/users/tavisca-mdixit/orgs","repos_url":"https://api.github.com/users/tavisca-mdixit/repos","events_url":"https://api.github.com/users/tavisca-mdixit/events{/privacy}","received_events_url":"https://api.github.com/users/tavisca-mdixit/received_events","type":"User","site_admin":false},"repo":{"id":38668703,"name":"Training","full_name":"tavisca-mdixit/Training","owner":{"login":"tavisca-mdixit","id":13133992,"avatar_url":"https://avatars.githubusercontent.com/u/13133992?v=3","gravatar_id":"","url":"https://api.github.com/users/tavisca-mdixit","html_url":"https://github.com/tavisca-mdixit","followers_url":"https://api.github.com/users/tavisca-mdixit/followers","following_url":"https://api.github.com/users/tavisca-mdixit/following{/other_user}","gists_url":"https://api.github.com/users/tavisca-mdixit/gists{/gist_id}","starred_url":"https://api.github.com/users/tavisca-mdixit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavisca-mdixit/subscriptions","organizations_url":"https://api.github.com/users/tavisca-mdixit/orgs","repos_url":"https://api.github.com/users/tavisca-mdixit/repos","events_url":"https://api.github.com/users/tavisca-mdixit/events{/privacy}","received_events_url":"https://api.github.com/users/tavisca-mdixit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tavisca-mdixit/Training","description":"Trianing Assignments","fork":false,"url":"https://api.github.com/repos/tavisca-mdixit/Training","forks_url":"https://api.github.com/repos/tavisca-mdixit/Training/forks","keys_url":"https://api.github.com/repos/tavisca-mdixit/Training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tavisca-mdixit/Training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tavisca-mdixit/Training/teams","hooks_url":"https://api.github.com/repos/tavisca-mdixit/Training/hooks","issue_events_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues/events{/number}","events_url":"https://api.github.com/repos/tavisca-mdixit/Training/events","assignees_url":"https://api.github.com/repos/tavisca-mdixit/Training/assignees{/user}","branches_url":"https://api.github.com/repos/tavisca-mdixit/Training/branches{/branch}","tags_url":"https://api.github.com/repos/tavisca-mdixit/Training/tags","blobs_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/refs{/sha}","trees_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tavisca-mdixit/Training/statuses/{sha}","languages_url":"https://api.github.com/repos/tavisca-mdixit/Training/languages","stargazers_url":"https://api.github.com/repos/tavisca-mdixit/Training/stargazers","contributors_url":"https://api.github.com/repos/tavisca-mdixit/Training/contributors","subscribers_url":"https://api.github.com/repos/tavisca-mdixit/Training/subscribers","subscription_url":"https://api.github.com/repos/tavisca-mdixit/Training/subscription","commits_url":"https://api.github.com/repos/tavisca-mdixit/Training/commits{/sha}","git_commits_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/commits{/sha}","comments_url":"https://api.github.com/repos/tavisca-mdixit/Training/comments{/number}","issue_comment_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues/comments{/number}","contents_url":"https://api.github.com/repos/tavisca-mdixit/Training/contents/{+path}","compare_url":"https://api.github.com/repos/tavisca-mdixit/Training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tavisca-mdixit/Training/merges","archive_url":"https://api.github.com/repos/tavisca-mdixit/Training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tavisca-mdixit/Training/downloads","issues_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues{/number}","pulls_url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls{/number}","milestones_url":"https://api.github.com/repos/tavisca-mdixit/Training/milestones{/number}","notifications_url":"https://api.github.com/repos/tavisca-mdixit/Training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tavisca-mdixit/Training/labels{/name}","releases_url":"https://api.github.com/repos/tavisca-mdixit/Training/releases{/id}","created_at":"2015-07-07T06:32:00Z","updated_at":"2015-07-07T10:32:09Z","pushed_at":"2015-07-08T10:36:31Z","git_url":"git://github.com/tavisca-mdixit/Training.git","ssh_url":"git@github.com:tavisca-mdixit/Training.git","clone_url":"https://github.com/tavisca-mdixit/Training.git","svn_url":"https://github.com/tavisca-mdixit/Training","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"tavisca-mdixit:master","ref":"master","sha":"1bc74670cfaed29d766355e1cc063533700244b5","user":{"login":"tavisca-mdixit","id":13133992,"avatar_url":"https://avatars.githubusercontent.com/u/13133992?v=3","gravatar_id":"","url":"https://api.github.com/users/tavisca-mdixit","html_url":"https://github.com/tavisca-mdixit","followers_url":"https://api.github.com/users/tavisca-mdixit/followers","following_url":"https://api.github.com/users/tavisca-mdixit/following{/other_user}","gists_url":"https://api.github.com/users/tavisca-mdixit/gists{/gist_id}","starred_url":"https://api.github.com/users/tavisca-mdixit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavisca-mdixit/subscriptions","organizations_url":"https://api.github.com/users/tavisca-mdixit/orgs","repos_url":"https://api.github.com/users/tavisca-mdixit/repos","events_url":"https://api.github.com/users/tavisca-mdixit/events{/privacy}","received_events_url":"https://api.github.com/users/tavisca-mdixit/received_events","type":"User","site_admin":false},"repo":{"id":38668703,"name":"Training","full_name":"tavisca-mdixit/Training","owner":{"login":"tavisca-mdixit","id":13133992,"avatar_url":"https://avatars.githubusercontent.com/u/13133992?v=3","gravatar_id":"","url":"https://api.github.com/users/tavisca-mdixit","html_url":"https://github.com/tavisca-mdixit","followers_url":"https://api.github.com/users/tavisca-mdixit/followers","following_url":"https://api.github.com/users/tavisca-mdixit/following{/other_user}","gists_url":"https://api.github.com/users/tavisca-mdixit/gists{/gist_id}","starred_url":"https://api.github.com/users/tavisca-mdixit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tavisca-mdixit/subscriptions","organizations_url":"https://api.github.com/users/tavisca-mdixit/orgs","repos_url":"https://api.github.com/users/tavisca-mdixit/repos","events_url":"https://api.github.com/users/tavisca-mdixit/events{/privacy}","received_events_url":"https://api.github.com/users/tavisca-mdixit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tavisca-mdixit/Training","description":"Trianing Assignments","fork":false,"url":"https://api.github.com/repos/tavisca-mdixit/Training","forks_url":"https://api.github.com/repos/tavisca-mdixit/Training/forks","keys_url":"https://api.github.com/repos/tavisca-mdixit/Training/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tavisca-mdixit/Training/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tavisca-mdixit/Training/teams","hooks_url":"https://api.github.com/repos/tavisca-mdixit/Training/hooks","issue_events_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues/events{/number}","events_url":"https://api.github.com/repos/tavisca-mdixit/Training/events","assignees_url":"https://api.github.com/repos/tavisca-mdixit/Training/assignees{/user}","branches_url":"https://api.github.com/repos/tavisca-mdixit/Training/branches{/branch}","tags_url":"https://api.github.com/repos/tavisca-mdixit/Training/tags","blobs_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/refs{/sha}","trees_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tavisca-mdixit/Training/statuses/{sha}","languages_url":"https://api.github.com/repos/tavisca-mdixit/Training/languages","stargazers_url":"https://api.github.com/repos/tavisca-mdixit/Training/stargazers","contributors_url":"https://api.github.com/repos/tavisca-mdixit/Training/contributors","subscribers_url":"https://api.github.com/repos/tavisca-mdixit/Training/subscribers","subscription_url":"https://api.github.com/repos/tavisca-mdixit/Training/subscription","commits_url":"https://api.github.com/repos/tavisca-mdixit/Training/commits{/sha}","git_commits_url":"https://api.github.com/repos/tavisca-mdixit/Training/git/commits{/sha}","comments_url":"https://api.github.com/repos/tavisca-mdixit/Training/comments{/number}","issue_comment_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues/comments{/number}","contents_url":"https://api.github.com/repos/tavisca-mdixit/Training/contents/{+path}","compare_url":"https://api.github.com/repos/tavisca-mdixit/Training/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tavisca-mdixit/Training/merges","archive_url":"https://api.github.com/repos/tavisca-mdixit/Training/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tavisca-mdixit/Training/downloads","issues_url":"https://api.github.com/repos/tavisca-mdixit/Training/issues{/number}","pulls_url":"https://api.github.com/repos/tavisca-mdixit/Training/pulls{/number}","milestones_url":"https://api.github.com/repos/tavisca-mdixit/Training/milestones{/number}","notifications_url":"https://api.github.com/repos/tavisca-mdixit/Training/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tavisca-mdixit/Training/labels{/name}","releases_url":"https://api.github.com/repos/tavisca-mdixit/Training/releases{/id}","created_at":"2015-07-07T06:32:00Z","updated_at":"2015-07-07T10:32:09Z","pushed_at":"2015-07-08T10:36:31Z","git_url":"git://github.com/tavisca-mdixit/Training.git","ssh_url":"git@github.com:tavisca-mdixit/Training.git","clone_url":"https://github.com/tavisca-mdixit/Training.git","svn_url":"https://github.com/tavisca-mdixit/Training","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1"},"html":{"href":"https://github.com/tavisca-mdixit/Training/pull/1"},"issue":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/issues/1"},"comments":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tavisca-mdixit/Training/statuses/52f39bcb4f07a2eb17ff4f2b5e6a80166f83d59c"}}}}