Heya,

I have created a structure;

Code:
   Structure Server
        Public ServerName As String
        Public IpAddress As String

    End Structure
And I want a array of servers in a domain structure:

Code:
    Structure Domain
        Public Name As String
        Public Servers() As Server
    End Structure
But this does not support the 'domain.servers.count' property. I really need a the .count thing.

What is the best way of solving this? I don't want to use a 'sortedlist' because I don't want to use 'keys'. Should I make a custom 'array' type, or is it best to use another type to hold the servers? I also need to be able to 'for each' true the servers like:

Code:
for each MyServer as Server in MyDomain.Servers

Thanks in advance...