' Visual Basic 2008 9.0 .NET Examples - Selections - Introduction to Visual Basic : Module Example6 Sub Main() Console.WriteLine("Value ?") Dim value As Integer = Console.ReadLine() ' Select Case value Case 1 Console.WriteLine("One.") Case 2, 3, 4 Console.WriteLine("Two, three or four.") Case 5 To 10 Console.WriteLine("Value from 5 to 10.") Case Is > 10 Console.WriteLine("More than 10.") End Select ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.