Solution 1 : You need to remember that Array index always starts with Zero
and ends with Count-1
Replace This:
playerList.Items[playerList.Items.Count]
With This:
playerList.Items[playerList.Items.Count-1]
OR
Solution 2 : Just use oldCount
variable which holds the value playerList.Items.Count - 1
Replace This:
playerList.Items[playerList.Items.Count]
With This:
playerList.Items[oldCount]