using System.Collections ;
using System.Collections.Generic ;
namespace CollectionProject
public static void Main()
List<int> li = new List <int> () ;
li.Add(10) ; li.Add(20) ; li.Add(30) ;
li.Add(40) ; li.Add(50) ; li.Add(60) ;
for (int i = 0 ; i <li.Count ; i++)
Console.Write(li[i] + " " ) ;
Console.Write(i + " " ) ;
Console.Write(i + " " ) ;
Console.Write(i + " " ) ;