Urgent!! Problem with class module

Ok here is what I'm trying to do....this is code I wrote in vb.net

    Public Class RateTier
        Public MinimumLTV As Decimal
        Public MaximumLTV As Decimal
        Public MinimumLoanAmount As Decimal
        Public MaximumLoanAmount As Decimal
        Public Fee As Decimal
        Public Rate As Decimal
        Public Apr As Decimal
        Public Margin As Decimal
        Public IndexValue As Decimal
        Public Points As Decimal
    End Class

    Public Class RateProduct
        Public Code As String
        Public Title As String
        Public LoanType As String
        Public Tiers As RateTier()
    End Class

    Public Class RateState
        Public Products() As RateProduct
        Public Abbreviation As String
        Public Label As String
        Public LoanType As String
    End Class

    Public Class RateSystem
        Public States As RateState()
    End Class

    Public Class Rates
        Public EffectiveDate As Date
        Public PrimeRate As Double
        Public Systems() As RateSystem
    End Class

So what this allows me to do is have multiple RateSystem under Rates multiple RateState under RateSystem etc.

So essentially if I wanted to access the property for abbreviation for the first system and first state I would do


If I wanted to access the property for abbreviation for the second system 10th state I would do


and so on...

How do I do something like this in just plain ol' vb6?  
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl TawnSystems and Integration DeveloperCommented:
Essentially replace you arrays with collections and expose them through properties in your classes:


  '// Rates class

  Private rateSystem As Collection

  Public EffectiveDate As Date
  Public PrimeRate As Double
  Public Property Get RateSystem
    RateSystem = rateSystem
  End Property

Hope that made sense.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.