Yuliya
Active member
- Joined
- Nov 9, 2007
- Messages
- 34
- Programming Experience
- Beginner
I always thought Collection was zero-based. I've been using built in collections, like DataSet table rows, and they are zero-based.
Then I tried to create my own collection of Objects, and got an exception because I tried to access MyCollection(0).
So is it one-based, or zero-based? And why??
Thank you.
Then I tried to create my own collection of Objects, and got an exception because I tried to access MyCollection(0).
So is it one-based, or zero-based? And why??
Thank you.