C# Tutorial for Beginners 6 - C# Arrays









using System;
namespace MyProject.Examples
{
class ExampleOne
{
static void Main()
{

string[] myArray = new string[4];
myArray[0] = "3";
myArray[1] = "34";
myArray[2] = "37";
myArray[3] = "65";
Console.Write(myArray[4]);

Console.ReadKey();
}
}
}
















---------------------------------------------------

Searches related to c# array

Single-Dimensional Array

c# array class

c# array of objects

c# multidimensional array

c# array initialization

c# array to string

c# array contains

c# array of arrays

c# array indexof

Comments