using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
UseArray();
}
public static void UseArray()
List<int> cars = new List<int>();
//int[] cars = new int[10];
int i, j;
//int j;
//Writing to the Index
for(i = 0; i < 10; i++)
//cars[i] = i + 100;
cars.Add(i + 100);
//Reading to the Index
for(j = 0; j < 100; j++)
Console.WriteLine("Element {0} = {1}", j, cars[j]);
//Console.WriteLine("Element ' " + j + " ' = " + cars[j]);