What do you mean by "hard coded"? Like this?
public enum States
{
OFF, ERROR, START, RESET, END
}
Yes, that is how an enum is suppose to function.
Type: Posts; User: helloworld922
What do you mean by "hard coded"? Like this?
public enum States
{
OFF, ERROR, START, RESET, END
}
Yes, that is how an enum is suppose to function.