hi,
Today I was apply insert method at the button click. insert method used to insert the object at specific index so i write code
arr.insert(textbox1.text, stu)
Where stu is reference of class student. but not successfully insert student object.
so Please help me with the example.
Insert() method of Arraylist
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

EhteshamRank #3,979 · 374 reputationPosted Oct 30, 2012, 3:00 AM EDT
arr.insert(int.Parse(textbox1.text), stu);