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 dat
Enum
ComboBox
For a simple enum of string values (or any other type):
public static class MyEnumClass { public const string MyValue1 = "My value 1", MyValue2 = "My value 2"; }
Usage: string MyValue = MyEnumClass.MyValue1;
string MyValue = MyEnumClass.MyValue1;