Not a problem, more a question.
If you build a class and it has a readonly property, but the value is calculated, would you
A) Put all code in the property
B) Code the property to use a private function
C) Create a public function.
Does it really matter how you expose the value?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
If you build a class and it has a readonly property, but the value is calculated, would you
A) Put all code in the property
B) Code the property to use a private function
C) Create a public function.
Does it really matter how you expose the value?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music