View Full Version : Why can't I retrieve an object from a .NET ArrayList by its index?

Sir Penguin
22-05-2005, 07:56:12
I can insert by index, and remove by index, but I can't actually get an object at an index.



22-05-2005, 14:36:22
Because you're actually using Python?

(Wake up it was just a bad dream.. .NET ha ha ha)

Sir Penguin
22-05-2005, 22:06:06
Hehe... you actually index into an ArrayList with brackets. I hadn't thought that a language other than than Python would have such a useful feature. I don't know why the MSDN documentation couldn't have just said that.

This is C#, which is a pretty neat language. I like .NET.