Zero based collection
Hi Everyone -
I have an class that creates a collection - this all works fine,
now the specs have changed, and they are calling for
a zero based collection, instead of the one based collection
that we've all grown to love....
so the question is -
is there a way to create a zero based collection
instead of a 1's based collection??
You can create a custom collection class that wraps the VB collection object. In its Item method, return Index + 1 from the VB collection.
I utilized a scripting.dictionary to accomplish the task...
but thanks for responding.