Applying It

Try to complete the following exercises by yourself.

Independent Exercise 1

Create a new console project that declares a one-dimensional array of Strings of size 3. Have the user enter values for the elements of the array and then concatenate the elements and display the result.

Independent Exercise 2

Create a program that declares a structure for the personal information about an individual: last name, first name, date of birth, and gender. Then get the user to fill in information about itself and output this information to the console.

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.