Performance Guidelines for Properties
Posted by: Rico Marianis Performance Tidbits,
on 19 Dec 2011 |
View original | Bookmarked: 0 time(s)
I can’t say I’ve asked the framework guidelines folks about this but I’m fairly sure there would be a lot of agreement from the guidelines gurus; so in the spirit of approximately correct advice I give you Rico’s Guidelines for Performant Properties.
I should start by saying I wish more people just used fields instead of committing these terrible sins with their properties. If we had the notion of a type-safe, read-only field the world would be a better place. ...