Property Snippets

After commenting on EricG’s post, I decided I’d post a couple of code snippets I altered a while back for Visual Studio 2005.
I have altered the prop and propg snippets so that they explicitly reference the fields using the this keyword. I think it’s clearer and don’t really mind the fact that I can’t use it for static properties anymore.

[Extra: Roland Weiglet has been having fun with Snippets for quite a while and has some really useful stuff there…]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s