list<integer> mynums = new list<integer>();
mynums.add(10);
mynums.add(20);
mynums.add(30);
mynums.add(20);
mynums.add(10);
mynums.add(5,60);
system.debug('list values'+mynums);
This is my code,when i want to insert an other number with index 5 it is throwing an error as shown above. Help me out.............