1
Answer

Method To Add To Array List

Photo of Spencer Long

Spencer Long

12y
1.1k
1
Hi there, i'm writing a method to store elements to an arraylist and deleting at index.
This if for adding.

 void AddToArrayList(int index, string text){
        list.insert(index, text);

}
 but this doesn't work, gives out of range not handled error.


Answers (1)