summaryrefslogtreecommitdiffhomepage
path: root/visualbasic.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'visualbasic.html.markdown')
-rw-r--r--visualbasic.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/visualbasic.html.markdown b/visualbasic.html.markdown
index bdfdcc10..accdbf56 100644
--- a/visualbasic.html.markdown
+++ b/visualbasic.html.markdown
@@ -32,6 +32,9 @@ Module Module1
Console.WriteLine("50. About")
Console.WriteLine("Please Choose A Number From The Above List")
Dim selection As String = Console.ReadLine
+ ' The "Case" in the Select statement is optional.
+ ' For example, "Select selection" instead of "Select Case selection"
+ ' will also work.
Select Case selection
Case "1" 'HelloWorld Output
Console.Clear() 'Clears the application and opens the private sub