For example instead of using NextRow which advances the row cursor each time it is called, define a GetNextRow() method.
This might seem petty, but consider the ‘Autos’ and ‘Local’ windows in the debugger. Each time the property is in context, it is being evaluated and the member is modified.
Never change members inside a property getter
The URI to TrackBack this entry is: http://fortheloveofcode.wordpress.com/2008/03/26/never-change-members-inside-a-property-getter/trackback/


