Sometimes auto implemented properties don't satisfy our requirement. So, we need to create full property declaration.
Do you feel it's time consuming? If, so check this cool feature.
1. Create property backing field. Ex: private string _name;
2. right click mouse and go to Refactor -> Encapsulate. Visual studio opens up a dialogue box. Set values accordingly. I prefer key board short cut Ctrl+R+E.
http://visualstudiomagazine.com/blogs/tool-tracker/2013/06/write-a-property-with-a-name-and-datatype.aspx
I’m not a nerd!! But I love to learn technology. Have a good collection of tech book soft copies, hardly read. Always bing to solve problem. Now decided to scribble - whatever I binged for my tech work!!!! Disclaimer: This is not my view ;) itz collated views
Subscribe to:
Post Comments (Atom)
Featured post
How to connect to Mongo Atlas from Robo 3T
If you use a local instance of MongoDB, you might be a great fan of Robo3T. However, if you are using Mongo Atlas, the Atlas web interface p...
Popular Posts
-
Last week I was working on on-boarding a few SAP Odata APIs to API Management gateway. The APIM tool used by my organization supports JSON ...
-
Our team has used EWS API's Appointment service to book a meeting room. During our testing, its been noted that the room was not block...
-
When comes to API maturity model there are two major models: 1. Richardson Maturity Model 2. Amundsen Maturity Model. To attain RMM...
No comments:
Post a Comment