Users Pricing

forum

home / developersection / forums / i am getting error while assigning the data to the array list.

I am getting error while assigning the data to the array list.

Elena Glibart 1742 20 Sep 2016
Hi Guys

I am not able to excute this part of the program.Plese help me

ArrayList array1 =new ArrayList ();
for(int i=0;i<10;i++)
{
ArrAdd(i)   = convert.ToInt32(Console.ReadLine());// getting error 
Arr(i)=   convert.ToInt32(Console.ReadLine());// getting error       
}


1 Answers