Declare the field as private and press "Ctrl+R+E" on the field name. It will popup a dialog where you can set the name of property (its almost what you want). Click OK to create Property in your C# code.
Property gets created automatically on click of OK
No comments:
Post a Comment