+ 1

What is array in c#

please explain detail about array

11th Oct 2017, 11:14 AM
santosh kumar
santosh kumar - avatar
1 Answer
0
Well, think of an array as a collection of variables with the same data type. In this collection, each variable has its own place which is specified by a number, the index number, starting off from 0. With this number you can access the variables inside the collection. And since arrays are objects in C#, you instantiate them with the 'new' keyword.
11th Oct 2017, 11:31 AM
Shadow
Shadow - avatar