Arrays in C# dot net

Array is a subtype of System.Array and can be derived from System.Object

Arrays can be single or multi dimensionals.

Below i present to you an example of single array in C#

Array.cs

class zzz
{
static void Main()
{
int[] a= new int[3];
int i;
for( i=0; i<=2; i++)
a[i]= i*10;
for( i=0; i<=2; i++)
System.Console.WriteLine(a[i]);
}
}

Related posts :

  • New section for C# source code
  • using System.Diagnostics
  • Read from Web using C#
  • MASTERGATE
  • SUPERGATE – RECURRING BILLING SOFTWARE
  • DNS RESEARCH TOOL
  • AUTOMATIC USERADD
  • Leave a Comment