The switch statement allows you to choose from many statements based on multiple selections by passing control to one of the case statements within its body. The switch statement can include any number of case instances. In VB.Net it is using as Select...Case statement and C# it is using as switch..case .
The following ASP.NET program evaluates which value is passing in case statement.
Click the following links to see full source code