Would you use regions within long switch/enum declarations?
问题 I've recently found myself needing (yes, needing) to define absurdly long switch statements and enum declarations in C# code, but I'm wondering what people feel is the best way to split them into logical subsections. In my situation, both the enum values and the cases (which are based on the enum values) have fairly clear groupings, yet I am slightly unsure how to reflect this in code. Note that in my code, I have roughly 5 groups of between 10 and 30 enum values/cases each. The three vaguely