Skip to main content

All Questions

5 votes
3 answers
920 views

Throwing exception from a property when my object state is invalid [duplicate]

I am aware that for the general case, the answer to "should I throw an exception from a property" is "generally don't, but in some special circumstances it is OK to do so". There is a Microsoft ...
Rumi P.'s user avatar
  • 269