{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/102","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/102/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/102/events","html_url":"https://github.com/dotnet/roslyn/issues/102","id":55732156,"number":102,"title":"Allow multiple return values in C#","user":{"login":"GoEddie","id":4895930,"avatar_url":"https://avatars.githubusercontent.com/u/4895930?v=3","gravatar_id":"","url":"https://api.github.com/users/GoEddie","html_url":"https://github.com/GoEddie","followers_url":"https://api.github.com/users/GoEddie/followers","following_url":"https://api.github.com/users/GoEddie/following{/other_user}","gists_url":"https://api.github.com/users/GoEddie/gists{/gist_id}","starred_url":"https://api.github.com/users/GoEddie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoEddie/subscriptions","organizations_url":"https://api.github.com/users/GoEddie/orgs","repos_url":"https://api.github.com/users/GoEddie/repos","events_url":"https://api.github.com/users/GoEddie/events{/privacy}","received_events_url":"https://api.github.com/users/GoEddie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-28T09:24:46Z","updated_at":"2015-01-28T15:27:56Z","closed_at":null,"body":"Hi,\r\n\r\nIn a newer version of c#, can you consider this as a new feature?\r\n\r\nReturning multiple values from a function is really useful and would avoid either returning a class / struct or using out parameters.\r\n\r\nThe syntax could be something like:\r\n\r\nvar result = false;\r\nvar someOtherValue = \"\";\r\n\r\nresult, someOtherValue = SomeMethod(100, 100);\r\n\r\nto return multiple values do something like:\r\n\r\npublic bool, string SomeMethod(int number1, int number2) {\r\n    return true, \"blah blah blah\";\r\n}\r\n\r\nwhich seems a lot nicer than:\r\n\r\npublic bool SomeMethod(int number1, int number2, out string returnValue) {\r\n  returnValue = \"blah blah blah\";\r\n  return true;\r\n}\r\n\r\nThere is already a uservoice for this:\r\n\r\nhttps://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/2083753-return-multiple-values-from-functions-effortlessly"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/71853131","html_url":"https://github.com/dotnet/roslyn/issues/102#issuecomment-71853131","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/102","id":71853131,"user":{"login":"XuTpuK","id":1545616,"avatar_url":"https://avatars.githubusercontent.com/u/1545616?v=3","gravatar_id":"","url":"https://api.github.com/users/XuTpuK","html_url":"https://github.com/XuTpuK","followers_url":"https://api.github.com/users/XuTpuK/followers","following_url":"https://api.github.com/users/XuTpuK/following{/other_user}","gists_url":"https://api.github.com/users/XuTpuK/gists{/gist_id}","starred_url":"https://api.github.com/users/XuTpuK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XuTpuK/subscriptions","organizations_url":"https://api.github.com/users/XuTpuK/orgs","repos_url":"https://api.github.com/users/XuTpuK/repos","events_url":"https://api.github.com/users/XuTpuK/events{/privacy}","received_events_url":"https://api.github.com/users/XuTpuK/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T15:27:56Z","updated_at":"2015-01-28T15:27:56Z","body":"@mikedn \r\nI was writing DOS resident programs when you was just a drop on father's panties! Not lamer like you can point me what CPU does. For fighting troll like you this is code you never write due to lack of any IT education: http://pastebin.com/bL52HeDF (FASM source)  Look, shame and never appear again with your lamerish knowledge.\r\n"}}