Delet item from list

i want to delete item from list using loop


number variable is increase corectly but item are not correctly removed.
example
**numbre are at index **
**7 ,8, 9, 10, 11, 12 **
but deleted items are at index
7, 13,9,15,11, 17 which means 3 item from the first range and 3 item from the secound range. why ? anyone who help me please

i need quick responde.

well here it is…

So you want to remove some items from the list from start index to end index.

I can add a new method in my ListUtilz extension to achieve this.

Well, you have already solved this query, just to extend my ListUtilz extension functionality I have added below method.