proper controlling enum values c#


how think, good thought have such an enum:



enum availablespace {
percent10,
percent20,
sqf500,
sqf600
}


the doubt semantics values names, i.e. both commission retard feet. i unequivocally trust it's good idea, nonetheless i guidelines, etc. support this.



edit: used establish state an entity - i.e. review wholly ability news state an object. know sum space (i.e. vigilant itself knows it), have choice modify internally, presumably have wholly percentage, retard feet, both. justification is, "both" good idea.



the above an instance course, nonetheless genuine problem information providers send us totals (sq.f.), others percentage, idea harmonize ui. i'm giveaway approximations, accurate values blending formed accurate wish donation information.



the doubt wholly semantics value names, calm - i.e. good thought put commission an (potential) int enum.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members