| You are here: | About>Computing & Technology>Visual Basic> Learn VB.NET> Using Decision Structures - Part 2 |
![]() | Visual Basic |
Suggested ReadingUser Control Components in VB.NETVB.NET New Logical Operators Chapter 6 - Using Decision Structures - Part 2If-Then-Else compared with Select CaseThe Select Case structure looks like this illustration in the Microsoft documentation. The second major topic of this lesson is to show you how Select Case and If-Then-Else can actually be used for exactly the same programming problem sometimes. It's up to you, as a programmer, to decide which one works best. The example that we'll use is the same one in the book. Here's the code in the book: ~~~~~~~~~~~~~~~~~~~~~~~~~
Previous | Next >> Suggested ReadingUser Control Components in VB.NETVB.NET New Logical Operators |
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


