KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to define an Enum and add valid common separators which used in CSV or similar files. Then I am going to bind it to a ComboBox as a data source so whenever I add or remove from the Enum definition, I would not need to change anything in the combo box. The problem is how can I define enum with string representation, something like: public enum SeparatorChars{Comma = ",", Tab = "\t", Space = " "}
Tags (comma-separated)
Save Edits
Cancel