cstr

Switch Function in VB.NET

Submitted by donbermoy on
In this tutorial, we will create a program that can get the name of the country by inputting the capital city using the switch function. Now, let's start this tutorial! 1. Let's start with creating a Windows Form Application for this tutorial by following the following steps in Microsoft Visual Studio: Go to File, click New Project, and choose Windows Application. 2. Next, add only one Button named Button1 and labeled it as "Answer".