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 1536 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       
}


c# c# 
Updated on 20-Sep-2016

Can you answer this question?


Answer

1 Answers

Liked By