Content deleted Content added
DoomBringer (talk | contribs) ROTOR mention? |
DoomBringer (talk | contribs) |
||
Line 146:
::''C# Language Specification'' lists "possible governing types" of a switch statement as: sbyte, byte, short, ushort, int, uint, long, ulong, char, string. Switching on strings would thus be the only difference compared to Java. Not a groundbreaking feature, but it's very useful nonetheless... [[User:GregorB|GregorB]] 11:13, May 9, 2005 (UTC)
:::I would say that it is a noteworthy feature. Any neato feature like that prevents me from doing a huge if-elseif-... construct, which can get ugly. The claim was made that switching on a string in C# isn't as horrible for performance as some would think, but I don't know the underlying implementation, so I can't say for sure. I just know that I like being able to switch on strings. [[User:DoomBringer|DoomBringer]] 07:09, 18 May 2005 (UTC)
I've added it, since no one had any issues here. If you feel otherwise, post something here first.
== ROTOR mention? ==
|