How to represent an array of objects?

M

Mark A. Deal

If I have the following class declaration and then need to be able to
provide a way to access a collection of PartyRecords, how would I accomplish
this?

Public Class PartyRecord
Private FLast As String
Public Property Last() As String
Get
Return FLast
End Get
Set(ByVal FLast As String)
End Set
End Property
end class

As a Delphi convert, I can only refer to the way I used to do it:

TParty = Array of PartyRecord;

I have tried to figure out how to do it with Arrays and have not had much
luck. I assume I should use collections but cannot get very far with that
either.

Anybody have any helpful hints?

TIA!

--
Mark A. Deal
Document & Data Solutions, LLC
http://www.docsol.com
Time Matters AIC
HotDocs Certified Consultant
GhostFill Certified Consultant
 

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

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top