I’m wondering, what happens when you do following:
Collection.Insert(55, "Input")
The collection contains 20 items, so 19 would be the last index.
This doesn’t work, I get the expected outofrangeException.
But when I do :
Collection.Insert(20, "Input")
That works without a problem, even though it is 1 out of the collection.
Any thoughts on this.
Thanks in advance.
Stated from the MSDN.
So basically if you insert at index =
count, its like anappend, you add after the last item.