Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Generating getters and setters
We all know how boring it can get to create those getters and setters aka properties for our classes.
Well in Visual studio 2005 and 2008 you just right-click on a private field and then choose refactor and encapsulate field.
And hey presto after a few more clicks you have you getter and/or setter.
MS makes life easy for us lazy programmers.