hi there,
//example enum:
public enum Status
{
New=0,
Modified=1,
VeryOld
}
//using enum:
myobject.Status=Status.VeryOld
//example of displaying it to the user:
myobject.Status.ToString();
The user will see the "VeryOld". How can I actually store the spaced value in the enum i.e. "Very Old" or do I have to manually check the enum and then add the space
Windows Forms23
|