Hacker News new | ask | show | jobs
by jimmaswell 1241 days ago
What's not proper about C# enums?
1 comments

They are not distinct types. You can pass ints to methods that accept enums, even if they are outside the enum defined range.