Geeks With Blogs

News FAQ on the correct forum to post at: http://forums.asp.net/p/1337412/2699239.aspx#2699239
Tatworth

At http://csharperimage.jeremylikness.com/2011/08/properties-or-fields.html there is an interesting discussion on whether to use Prperties or to publicly expose fields.

Whilst I will admit there be cases where every last CPU cycle must be conserved, I conclude that StyleCop's instruction to use Properties rather than publicly expose field must normally be followed. What do you think?

 

Posted on Sunday, September 4, 2011 8:59 PM | Back to top


Comments on this post: properties-or-public-fields

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © TATWORTH | Powered by: GeeksWithBlogs.net