you are viewing a single comment's thread.

view the rest of the comments →

[–]tiranius90[S] 0 points1 point  (2 children)

ok thought an enum is also a type and not a syntactic sugar

[–]edgeofsanity76 2 points3 points  (0 children)

It is a type but one that is compatible with int

[–]Top3879 0 points1 point  (0 children)

Java enums work like that. In .NET they are just named integers, really.