Technically, you can do it like this:
public enum ValidationType { email, number, @float,
however, even if it is possible to use keywords as sequence identifiers, this is not a good practice. Probably the best solution in your case is to use:
public enum ValidationType { Email, Number, Float, Range }
Dmitry Bychenko
source share