Softwareengineering: Should I expose a "computed" value as a property or a method?
Should I expose a "computed" value as a property or a method?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(softwareengineering.stackexchange.com/users/80895/charles-wesley)Charles Wesley
(softwareengineering.stackexchange.com/users/6505/eric-lippert)Eric Lippert
(softwareengineering.stackexchange.com/users/1204/robert-harvey)Robert Harvey
A special thanks goes out to the (softwareengineering.stackexchange.com/questions/233210/should-i-expose-a-computed-value-as-a-property-or-a-method)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
properties design-patterns methods class-design c#