About 699,000 results
Open links in new tab
  1. The array reference type - C# reference | Microsoft Learn

    Dec 14, 2024 · You can store multiple variables of the same type in an array data structure. You declare an array by specifying the type of its elements. If you want the array to store elements of any type, …

  2. C# Arrays - W3Schools

    Create an Array Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value. To declare an array, define the variable type with square brackets:

  3. C# Array: How To Declare, Initialize And Access An Array In C#?

    Apr 1, 2025 · Learn All About C# Array in This In-depth Tutorial. It Explains How To Declare, Initialize And Access Arrays Along with Types And Examples Of Arrays in C#.

  4. Arrays in C# - GeeksforGeeks

    Sep 9, 2025 · An array is a linear data structure that stores a fixed-size sequence of elements of the same data type in contiguous memory locations. It allows accessing elements using an index, …

  5. C# Arrays (With Examples) - Programiz

    An array is a collection of similar types of data. In this tutorial, we will learn about the C# array with the help of examples.

  6. C# - Array Initialize - Dot Net Perls

    Aug 11, 2025 · Array, initialize In .NET, an array can be initialized in several ways. With array initializer syntax, we can specify individual elements directly. We can assign each element in an array to one …

  7. C# - Arrays - Online Tutorials Library

    When the array variable is initialized, you can assign values to it. An array is a reference type in C#, so you need to use the new keyword to allocate memory for its elements.

  8. C# Array Initialization: Methods and Syntax Explained

    Jul 25, 2025 · Explore various C# array initialization methods, from simple declarations to advanced techniques with collection expressions and object arrays.