Should side-effect free function using Properties?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
If a method has no side effects, and fetches something in a fairly straightforward manner (it shouldn't read a database or something), yes, consider using a property instead.
Cheers, Vıkram.
Stand up to be seen. Speak up to be heard. Shut up to be appreciated.