{"action":"created","comment":{"url":"https://api.github.com/repos/dotnet/docs/pulls/comments/92018477","pull_request_review_id":12524947,"id":92018477,"diff_hunk":"@@ -0,0 +1,71 @@\n+using System;\n+\n+namespace StringInterpolationTutorial\n+{\n+    public class Examples\n+    {\n+        public void StringFormatExample()\n+        {\n+            // <StringFormatExample>\n+            var firstName = \"Matt\";\n+            var lastName = \"Groves\";\n+            var str = String.Format(\"My name is {FirstName} {LastName}\", firstName, lastName);","path":"samples/snippets/csharp/new-in-6/string-interpolation.cs","position":12,"original_position":12,"commit_id":"21354e71b508a3dcc479ab947ff94349534f6ccc","original_commit_id":"21354e71b508a3dcc479ab947ff94349534f6ccc","user":{"login":"BillWagner","id":493969,"avatar_url":"https://avatars.githubusercontent.com/u/493969?v=3","gravatar_id":"","url":"https://api.github.com/users/BillWagner","html_url":"https://github.com/BillWagner","followers_url":"https://api.github.com/users/BillWagner/followers","following_url":"https://api.github.com/users/BillWagner/following{/other_user}","gists_url":"https://api.github.com/users/BillWagner/gists{/gist_id}","starred_url":"https://api.github.com/users/BillWagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillWagner/subscriptions","organizations_url":"https://api.github.com/users/BillWagner/orgs","repos_url":"https://api.github.com/users/BillWagner/repos","events_url":"https://api.github.com/users/BillWagner/events{/privacy}","received_events_url":"https://api.github.com/users/BillWagner/received_events","type":"User","site_admin":false},"body":"This will throw an exception. You want:\r\n\r\n```csharp\r\nString.Format(\"My name is {0} {1}\", firstName, lastName);\r\n","created_at":"2016-12-12T19:16:51Z","updated_at":"2016-12-12T19:20:50Z","html_url":"https://github.com/dotnet/docs/pull/1317#discussion_r92018477","pull_request_url":"https://api.github.com/repos/dotnet/docs/pulls/1317","_links":{"self":{"href":"https://api.github.com/repos/dotnet/docs/pulls/comments/92018477"},"html":{"href":"https://github.com/dotnet/docs/pull/1317#discussion_r92018477"},"pull_request":{"href":"https://api.github.com/repos/dotnet/docs/pulls/1317"}}},"pull_request":{"url":"https://api.github.com/repos/dotnet/docs/pulls/1317","id":97368391,"html_url":"https://github.com/dotnet/docs/pull/1317","diff_url":"https://github.com/dotnet/docs/pull/1317.diff","patch_url":"https://github.com/dotnet/docs/pull/1317.patch","issue_url":"https://api.github.com/repos/dotnet/docs/issues/1317","number":1317,"state":"open","locked":false,"title":"#275 string interpolation tutorial for C#","user":{"login":"mgroves","id":103484,"avatar_url":"https://avatars.githubusercontent.com/u/103484?v=3","gravatar_id":"","url":"https://api.github.com/users/mgroves","html_url":"https://github.com/mgroves","followers_url":"https://api.github.com/users/mgroves/followers","following_url":"https://api.github.com/users/mgroves/following{/other_user}","gists_url":"https://api.github.com/users/mgroves/gists{/gist_id}","starred_url":"https://api.github.com/users/mgroves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgroves/subscriptions","organizations_url":"https://api.github.com/users/mgroves/orgs","repos_url":"https://api.github.com/users/mgroves/repos","events_url":"https://api.github.com/users/mgroves/events{/privacy}","received_events_url":"https://api.github.com/users/mgroves/received_events","type":"User","site_admin":false},"body":"# C# tutorial for string interpolation\r\n\r\n## Summary\r\n\r\nThis is for #275 via up-for-grabs.\r\n\r\n## Details\r\n\r\nThis tutorial covers the basics of string interpolation with the $ symbol. It does not dive deep into string formatting, other than referencing that it is syntactic sugar for String.Format and that interpolated strings can be assigned to IFormattable.\r\n\r\n## Suggested Reviewers\r\n\r\nWould love a review from anyone, maybe @BillWagner would be best?","created_at":"2016-12-09T19:44:28Z","updated_at":"2016-12-12T19:20:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07082c7cf885cd2b17d2c764f6618fde190a4e32","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotnet/docs/pulls/1317/commits","review_comments_url":"https://api.github.com/repos/dotnet/docs/pulls/1317/comments","review_comment_url":"https://api.github.com/repos/dotnet/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotnet/docs/issues/1317/comments","statuses_url":"https://api.github.com/repos/dotnet/docs/statuses/21354e71b508a3dcc479ab947ff94349534f6ccc","head":{"label":"mgroves:master","ref":"master","sha":"21354e71b508a3dcc479ab947ff94349534f6ccc","user":{"login":"mgroves","id":103484,"avatar_url":"https://avatars.githubusercontent.com/u/103484?v=3","gravatar_id":"","url":"https://api.github.com/users/mgroves","html_url":"https://github.com/mgroves","followers_url":"https://api.github.com/users/mgroves/followers","following_url":"https://api.github.com/users/mgroves/following{/other_user}","gists_url":"https://api.github.com/users/mgroves/gists{/gist_id}","starred_url":"https://api.github.com/users/mgroves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgroves/subscriptions","organizations_url":"https://api.github.com/users/mgroves/orgs","repos_url":"https://api.github.com/users/mgroves/repos","events_url":"https://api.github.com/users/mgroves/events{/privacy}","received_events_url":"https://api.github.com/users/mgroves/received_events","type":"User","site_admin":false},"repo":{"id":76062209,"name":"docs","full_name":"mgroves/docs","owner":{"login":"mgroves","id":103484,"avatar_url":"https://avatars.githubusercontent.com/u/103484?v=3","gravatar_id":"","url":"https://api.github.com/users/mgroves","html_url":"https://github.com/mgroves","followers_url":"https://api.github.com/users/mgroves/followers","following_url":"https://api.github.com/users/mgroves/following{/other_user}","gists_url":"https://api.github.com/users/mgroves/gists{/gist_id}","starred_url":"https://api.github.com/users/mgroves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgroves/subscriptions","organizations_url":"https://api.github.com/users/mgroves/orgs","repos_url":"https://api.github.com/users/mgroves/repos","events_url":"https://api.github.com/users/mgroves/events{/privacy}","received_events_url":"https://api.github.com/users/mgroves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mgroves/docs","description":"This repository contains .NET Documentation.","fork":true,"url":"https://api.github.com/repos/mgroves/docs","forks_url":"https://api.github.com/repos/mgroves/docs/forks","keys_url":"https://api.github.com/repos/mgroves/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mgroves/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mgroves/docs/teams","hooks_url":"https://api.github.com/repos/mgroves/docs/hooks","issue_events_url":"https://api.github.com/repos/mgroves/docs/issues/events{/number}","events_url":"https://api.github.com/repos/mgroves/docs/events","assignees_url":"https://api.github.com/repos/mgroves/docs/assignees{/user}","branches_url":"https://api.github.com/repos/mgroves/docs/branches{/branch}","tags_url":"https://api.github.com/repos/mgroves/docs/tags","blobs_url":"https://api.github.com/repos/mgroves/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mgroves/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mgroves/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mgroves/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mgroves/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/mgroves/docs/languages","stargazers_url":"https://api.github.com/repos/mgroves/docs/stargazers","contributors_url":"https://api.github.com/repos/mgroves/docs/contributors","subscribers_url":"https://api.github.com/repos/mgroves/docs/subscribers","subscription_url":"https://api.github.com/repos/mgroves/docs/subscription","commits_url":"https://api.github.com/repos/mgroves/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mgroves/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mgroves/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mgroves/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mgroves/docs/contents/{+path}","compare_url":"https://api.github.com/repos/mgroves/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mgroves/docs/merges","archive_url":"https://api.github.com/repos/mgroves/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mgroves/docs/downloads","issues_url":"https://api.github.com/repos/mgroves/docs/issues{/number}","pulls_url":"https://api.github.com/repos/mgroves/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/mgroves/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/mgroves/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mgroves/docs/labels{/name}","releases_url":"https://api.github.com/repos/mgroves/docs/releases{/id}","deployments_url":"https://api.github.com/repos/mgroves/docs/deployments","created_at":"2016-12-09T18:57:58Z","updated_at":"2016-12-09T18:58:03Z","pushed_at":"2016-12-12T16:02:58Z","git_url":"git://github.com/mgroves/docs.git","ssh_url":"git@github.com:mgroves/docs.git","clone_url":"https://github.com/mgroves/docs.git","svn_url":"https://github.com/mgroves/docs","homepage":"https://docs.microsoft.com/dotnet","size":44661,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dotnet:master","ref":"master","sha":"d3ec74f1c398ed06369159ab6166fdf3378eaffb","user":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"repo":{"id":35890081,"name":"docs","full_name":"dotnet/docs","owner":{"login":"dotnet","id":9141961,"avatar_url":"https://avatars.githubusercontent.com/u/9141961?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnet","html_url":"https://github.com/dotnet","followers_url":"https://api.github.com/users/dotnet/followers","following_url":"https://api.github.com/users/dotnet/following{/other_user}","gists_url":"https://api.github.com/users/dotnet/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnet/subscriptions","organizations_url":"https://api.github.com/users/dotnet/orgs","repos_url":"https://api.github.com/users/dotnet/repos","events_url":"https://api.github.com/users/dotnet/events{/privacy}","received_events_url":"https://api.github.com/users/dotnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dotnet/docs","description":"This repository contains .NET Documentation.","fork":false,"url":"https://api.github.com/repos/dotnet/docs","forks_url":"https://api.github.com/repos/dotnet/docs/forks","keys_url":"https://api.github.com/repos/dotnet/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotnet/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotnet/docs/teams","hooks_url":"https://api.github.com/repos/dotnet/docs/hooks","issue_events_url":"https://api.github.com/repos/dotnet/docs/issues/events{/number}","events_url":"https://api.github.com/repos/dotnet/docs/events","assignees_url":"https://api.github.com/repos/dotnet/docs/assignees{/user}","branches_url":"https://api.github.com/repos/dotnet/docs/branches{/branch}","tags_url":"https://api.github.com/repos/dotnet/docs/tags","blobs_url":"https://api.github.com/repos/dotnet/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotnet/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotnet/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotnet/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotnet/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/dotnet/docs/languages","stargazers_url":"https://api.github.com/repos/dotnet/docs/stargazers","contributors_url":"https://api.github.com/repos/dotnet/docs/contributors","subscribers_url":"https://api.github.com/repos/dotnet/docs/subscribers","subscription_url":"https://api.github.com/repos/dotnet/docs/subscription","commits_url":"https://api.github.com/repos/dotnet/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotnet/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotnet/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotnet/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotnet/docs/contents/{+path}","compare_url":"https://api.github.com/repos/dotnet/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotnet/docs/merges","archive_url":"https://api.github.com/repos/dotnet/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotnet/docs/downloads","issues_url":"https://api.github.com/repos/dotnet/docs/issues{/number}","pulls_url":"https://api.github.com/repos/dotnet/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/dotnet/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/dotnet/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotnet/docs/labels{/name}","releases_url":"https://api.github.com/repos/dotnet/docs/releases{/id}","deployments_url":"https://api.github.com/repos/dotnet/docs/deployments","created_at":"2015-05-19T15:13:32Z","updated_at":"2016-12-09T16:39:31Z","pushed_at":"2016-12-12T18:57:02Z","git_url":"git://github.com/dotnet/docs.git","ssh_url":"git@github.com:dotnet/docs.git","clone_url":"https://github.com/dotnet/docs.git","svn_url":"https://github.com/dotnet/docs","homepage":"https://docs.microsoft.com/dotnet","size":58467,"stargazers_count":292,"watchers_count":292,"language":"PowerShell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":449,"mirror_url":null,"open_issues_count":197,"forks":449,"open_issues":197,"watchers":292,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dotnet/docs/pulls/1317"},"html":{"href":"https://github.com/dotnet/docs/pull/1317"},"issue":{"href":"https://api.github.com/repos/dotnet/docs/issues/1317"},"comments":{"href":"https://api.github.com/repos/dotnet/docs/issues/1317/comments"},"review_comments":{"href":"https://api.github.com/repos/dotnet/docs/pulls/1317/comments"},"review_comment":{"href":"https://api.github.com/repos/dotnet/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotnet/docs/pulls/1317/commits"},"statuses":{"href":"https://api.github.com/repos/dotnet/docs/statuses/21354e71b508a3dcc479ab947ff94349534f6ccc"}}}}
{"actor":{"display_login":"BillWagner"}}