The file is attached to complete this project.
1.) Create an application that displays the telephone extension corresponding to the name selected in a list box. The names and extensions are shown here:
Smith, Joe 3388
Jones, Mary 3356
Adkari, Joel 2487
Lin, Sue 1111
Li, Vicki 2222
A.) Open the Phone Solution (Phone [url removed, login to view]) file, which is attached.
B.) The items in the list box should be sorted. Set the appropriate property.
C.) Code the form's Load event procedure so that it adds tefive names shown above to the nameListBox. Select the first name in the list.
D.) Code the list box's SelectedValueChanged event procedure so that it assigns the item selected in the nameListBox to a variable. The procedure then should use the Select Case statement todisplay the telephone extension corresponding to the name stored in the variable.
E.) Save the solution, then start the application. Click the Exit button to end the application, then close the solution.