Interviews3 answers
What is Array in C#?
3 Answers
Array is a strongly type collection
int[] numbers = new int[5] {1, 2, 3, 4, 5};
varaprasad mullapudiPosted May 11, 2016, 11:07 PM EDT
KinguruPosted Jul 9, 2013, 10:55 AM EDT
C# arrays are zero indexed; that is, the array indexes start at zero. Arrays in C# work similarly to how arrays work in most other popular languages. There are, however, a few differences that you should be aware of. The size of the array is not part of its type as it is in the C language. In C#, arrays are actually objects. System.Array is the abstract base type of all array types. You can use the properties, and other class members, that System.Array has.
KinguruPosted Jul 9, 2013, 10:55 AM EDT
