[Solved] New to C#, can anyone explain to me how enums and setting variables for enums works? [closed]
An enum is basically a special type that lets you define named values. You’re creating a named type just as you would if you were defining a class. What your code is actually doing is first defining your enumerated type called States with all the possible named values, then declaring a variable “myState” using the … Read more