How to Create an Array of Objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a Class. Now i want to create an Array of Object for that class..
 
Prabhudhas Peter said:
I have a Class. Now i want to create an Array of Object for that class..

\\\
Dim MyFoos(9) As Foo
For i = 0 To MyFoos.Length - 1
MyFoos(i) = New Foo()
Next i
///
 
Dear Herfried K. Wagner
Thank U for ur reply...I'll try this...& check whther it solves my problem
thank u..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top