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.
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
I utilized a scripting.dictionary to accomplish the task...
but thanks for responding.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL