insert items to the arraylist using insert and insertrange method

We have seen how we can add items into the ArrayList using Add method. The Add method adds the items at the end of the ArrayList. If you want to insert items in any position of the arrayList, use the Insert and InsertRange methods as shown below.

arrayList.Insert(2, “Customer6”);
ArrayList - InsertRange method
int[] insertItems = new int[] { 9, 10, 11 };
arrayList.InsertRange(3, insertItems);