Arrays are an efficient type in the C# language, and are initialized and accessed with square brackets []. Arrays are zero-based, and are sometimes referred to as vectors. Two-dimensional arrays use a comma in between the brackets, and are less efficient. Here we see different types of arrays and how to use them.
2D Array IEnumerable
2D Array Loop Example
2D Array Use
Array and Dictionary Test, Integer Lookups
Array Initializer Examples
Array Length Property
Array MSIL
Array Offset Example
Array Optimization Tip
Array Parameter, Using Arrays in Methods
Array Property, Returning Empty Array
Array.BinarySearch Method
Array.Clear Method, Zero Out Array
Array.Copy Method Usage
Array.Find Method
Array.FindIndex Method
Array.ForEach Method Example
Array.IndexOf Method, Searching Arrays
Array.Resize Changes Array Lengths
Bool Array Usage and Allocation
Byte Array
Char Array Use
Combine Arrays Example
Conditional Attribute, DEBUG Array
Convert ArrayList to Array
Convert Char Array to String
Convert List to Array
Convert String Array to String
Count Array Elements
Country Name Arrays
DateTime Array
Enum Array Use and Enum Indexes
Flatten Array
Initialize Arrays
Int Array Examples
Jagged Array Examples
Jagged Versus 2D Array Memory
Last Array Element
Multidimensional Array
Null Array Use
Object Array
Random Byte Array
Static Array
String Array
ToArray Extension Method
ToCharArray Method, Converting String to Array