Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 3
    Jon - tell me you didn't come up with "section 8.7.2 of the C# 3.0 spec" off the top of your head. Sheesh...and you had the first answer as well. Commented Jan 21, 2009 at 19:19
  • 1
    No, don't worry - I did have to look it up. That was actually in an edit, too - but I suspect SO doesn't bother showing it as an edit if it's close enough to the original post. Commented Jan 21, 2009 at 19:22
  • 1
    @Shimmy: What exactly is sucky behaviour? Commented Dec 11, 2011 at 17:59
  • That it must be const. I'm a VB.NET user where the switch statement is made very flexible. Commented Dec 11, 2011 at 20:45
  • 2
    Right. A while ago I was in love with VB because it's a forgiving language. But since I got used to C# and its strictness, I realize that's it feels much better when all the edges are closed. I do use VB.NET for XML and for some certain things. C# can't beat VB.NET XML literals. That feature IS VB.NET hotness I love it very much! Thanks for you input Jon rock it on! Commented Dec 11, 2011 at 23:37