While performing a delete operation on a "Enumerable List" always use "for" statement instead of "for each".
In for statement last from the last item in the list.
Example:
for(int index=tempList.count;index > 0;i--)
{
//Delete logic here...................
}