Question: in c# visual studio 1Consider the array declared by decimal [] amounts = new decimal [5]; What is the lowest subscript of Amounts? What is

in c# visual studio

1Consider the array declared by decimal [] amounts = new decimal [5];

What is the lowest subscript of Amounts?

What is the highest subscript of Amounts?

2How many elements are in the array named Amounts?

Consider the array declared by int [] Items;

How many elements does it contain?

3Write an instruction that will change the size of the array so that the high subscript is 10.

Use the method GetUpperBound to get the high subscript for an array named SomeArray and assign that number to a variable named Limit.

Use the method Length to get the high subscript for an array named SomeArray and assign that number to a variable named Limit.

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!