using System;
class Program
{
public static void Main(String[] args)
{
int[] a = new int[10]; //one dimentional Array
int [ , ] b = new int[5 , 5]; //two dimentional Array
int[, ,] c = new int[5, 5, 5]; //three dimentional Array
for (int i = 0; i < 10; i++) a[i] = i;
for (int i = 0; i < 10; i++) Console.WriteLine(a[i]);
}
}
Showing posts with label Array. Show all posts
Showing posts with label Array. Show all posts
Using Arrays
Subscribe to:
Posts (Atom)