Add Items to ListBox in Visual Basic .NET

In this example, I am going to add some items (Name) to the ListBox

First you can create the Form with Controls as shown in the below image
Then you can name the controls of the form as below

Name of the Listbox is ListboxNames
Name of the TextBox is TextBoxAdd
Name od the Button is ButtonAdd

Then you add the following code to the click event handler of the Button

Now you can run the program and add the names to the ListBox