What is an Array?

 Posted by Raja on 4/16/2008 | Category: C# Interview questions | Views: 8497

An array is a collection of related instance either value or reference types. Array posses an immutable structure in which the number of dimensions and size of the array are fixed at instantiation.

C# Supports Single, Mult dimensional and Jagged Array.

Single Dimensional Array: it is sometimes called vector array consists of single row.

Multi-Dimensional Array: are rectangular & consists of rows and columns.

Jagged Array: also consists of rows & columns but in irregular shaped (like row 1 has 3 column and row 2 has 5 column)

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Vivekjj on: 11/1/2012 | Points: 10
Array is an collection of similar dataitems . its divided into three types single dimensional,multi dimensional,and jagged array

Login to post response