T
TS
is it preferred to access member variables directly in code, on the page
that declared them, versus going thru a property accessor? I would think
that since theres no security concerns or anything it would be more
efficient to access directly. I also don't think that you would need to do
any special validation since the class developer knows what the rules are.
Note, i am not referring to accessing member variables declared in a
different class.
any comments appreciated
Thanks
that declared them, versus going thru a property accessor? I would think
that since theres no security concerns or anything it would be more
efficient to access directly. I also don't think that you would need to do
any special validation since the class developer knows what the rules are.
Note, i am not referring to accessing member variables declared in a
different class.
any comments appreciated
Thanks