{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/csharplang/issues/1735","repository_url":"https://api.github.com/repos/dotnet/csharplang","labels_url":"https://api.github.com/repos/dotnet/csharplang/issues/1735/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/csharplang/issues/1735/comments","events_url":"https://api.github.com/repos/dotnet/csharplang/issues/1735/events","html_url":"https://github.com/dotnet/csharplang/issues/1735","id":344316437,"node_id":"MDU6SXNzdWUzNDQzMTY0Mzc=","number":1735,"title":"[Proposal] Short syntax of properties","user":{"login":"puppets2666","id":24938726,"node_id":"MDQ6VXNlcjI0OTM4NzI2","avatar_url":"https://avatars2.githubusercontent.com/u/24938726?v=4","gravatar_id":"","url":"https://api.github.com/users/puppets2666","html_url":"https://github.com/puppets2666","followers_url":"https://api.github.com/users/puppets2666/followers","following_url":"https://api.github.com/users/puppets2666/following{/other_user}","gists_url":"https://api.github.com/users/puppets2666/gists{/gist_id}","starred_url":"https://api.github.com/users/puppets2666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppets2666/subscriptions","organizations_url":"https://api.github.com/users/puppets2666/orgs","repos_url":"https://api.github.com/users/puppets2666/repos","events_url":"https://api.github.com/users/puppets2666/events{/privacy}","received_events_url":"https://api.github.com/users/puppets2666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T06:58:10Z","updated_at":"2018-07-25T06:58:10Z","closed_at":null,"author_association":"NONE","body":"\r\nSometimes properties have onle get and set without any logic:\r\n`public new string Text\r\n        {\r\n            get\r\n            {\r\n                return mainTextLbl.Text;\r\n            }\r\n            set\r\n            {\r\n                mainTextLbl.Text = value;\r\n            }\r\n        }`\r\nI suggest a shorter syntax:\r\n`public new string Text { mainTextLbl.Text; }`\r\nso in curve brackets you put a field which will be returned with get and modified with set"}}
{"actor":{"display_login":"puppets2666"}}