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
}
Abhishek Srivasatava
20-Sep-2016Hello Elena ,
Here is the correct code for your query, Please proceed.
For more details click here: Basic Concept of Collection in C#