I have, perhaps, a stupid question ... I am trying to determine what is best for entering a property whose value will be either "new" or "used". Am I using enum , or should I just go with boolean (e.g. IsNew)? If I go with enum , what should I call this type and property name? (public NewOrUsed NewOrUsed {get; set;} <- confusing)
Obviously, with enum I can have a state that does not declare a value (NONE, NEW, USED), and enum more reliable (although it can be argued that there are no other values). Again, what is the appropriate name for this type and property?
With boolean - it's pretty straight forward (using IsNew or IsUsed)
I know this is stupid, but I'm curious what others think.
Relations Z ..
Update
If you prefer enum , comment on what the corresponding name should be for the type and property (for example, public NewUsedType NewOrUsed {get; set;} )
source share