[Mono-list] Helo in switch-case:
Sat, 16 Mar 2002 13:57:16 +0530
----- Original Message -----
From: "John Barnette" <firstname.lastname@example.org>
To: "Gaurav Vaish" <email@example.com>; <firstname.lastname@example.org>
Sent: Saturday, March 16, 2002 12:59
Subject: Re: [Mono-list] Helo in switch-case:
: Even default: labels must have a break in C#, I believe.
On the contrast, my "break" statements are redundant. C# does not believe in
"break" - it does it by default. This is in exactly opposite direction with what
we have in other languages (C/C++/Java) where the flow is automatically
transferred to next label if no break if found.
In C#, whether or not break is there, the control is transferred to the end
of the block. So, applying break to default may not help.
Hey wait.. I just tried out, it's surprising (and also disgusting) to see
this. Applying "break" worked.
Miguel - what implementation do we have in our mcs for this? This is going
to be a critical point -- applying a "break" even after the last option, I mean,
making it a total must. I hate that.
: ~ j.
: Mono-list maillist - Monoemail@example.com