In my last blogpost I talked about property generation and how the naming for the generated property seemed a bit strange. Luckily the guys from JetBrains (Ilya Ryzhenkov) read our blog ;-) and gave a comment.
So I acted on it and found what he was talking about. I always use the prefix with underscore and have camelcasing because I have NHibernate setup like that too. And it becomes a habit. So I just had to add the underscore to the namingstyle, like shown in the picture.

And then this
- Private _color As String
Quickly turns into this.
- Public Property Color() As String
- Get
- Return _color
- End Get
- Set (ByVal value As String)
- _color = value
- End Set
- End Property
Isn’t that cool?





LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.