Computer Science, asked by Abhishekkushwa7768, 1 year ago

How is an array declared in C#?

Answers

Answered by divyanshsharma40
0

Declaring an Array. Like any other variable, arrays must be declared before they are used. ... It means array arr can only contain 10 elements of int type. Index of an array starts from 0 to size-1 i.e first element of arr array will be stored at arr[0] address and the last element will occupy arr[9] .

Similar questions