Spencer Long

Spencer Long

  • NA
  • 2
  • 8.4k

Method To Add To Array List

Apr 7 2013 5:24 PM
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)