|
-
switch statement
If you look at the preliminary documentation released at the end of June in
the MSDN library, you'll notice a little blurb on the switch statement. The
document says that there are no "fall-throughs" between each case, but a
break is still required to exit the switch statement. See
http://msdn.microsoft.com/library/pr...spec_8_7_2.htm
But in the September issue of MSDN Magazine, there is an article on C# that
states that there ARE implied break statements between each case. See
http://msdn.microsoft.com/msdnmag/is...arp/csharp.asp
Does this indicate that the design of C#, VB.NET, and .NET in general is in
more flux than we realize? (Or that the author of the magazine article is
simply wrong? 8) )
Thanks,
- Jim
--
James Lin
jlin@ugcs.caltech.edu
http://www.ugcs.caltech.edu/~jlin/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks