Question: Visual Studio C# Windows Form App In this Program you will be working with Arrays. Create a new GUI, called MyArray . This program will

Visual Studio C# Windows Form App

In this Program you will be working with Arrays. Create a new GUI, called MyArray.

This program will have only 1 Form, that the user will use to enter up to 10 integer values and store these integer values in an array.

Your Form should have one TextBox to enter the integers, and 3 Buttons; an Exit Button, an Add Value Button, and a Display Values Button.

To Add a number to the array, the user should type in a number in the Textbox and then click on the Add value button.

The first value added will go intothe array at index 0. The second value added will be placed at index 1.and so on.

To Display the data in the Array, the user should click on the Display Button. When the user clicks the Display Values Button, you should display the values stored in the array using Console.WriteLine() to display the values in the output window.

Should your array be declared as Global Data? What happens if the User tries to enter 11 values?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!