Hello everyone, I need small help with arrays, been smashing head whole night getting it work, so if anyone know solution for this please let me know here or post example snippet.
So i have example code:

Dim housing() As String = {"House", "Flat"}
Dim people() As String = {"01", "02", "03", "04", "05", "06", "07", "08", "09", "10"}

Now i need help how to make third array as:
House-01
House-02
House-03
...
House-10
Flat-01
Flat-02
...
Flat-10

Ye it has to have 0 before first 9 numbers :/

A double loop should do the trick

For Each house as string in housing
    For Each person as string in people
        Dim s as string = house + "-" + person
    Next
Next

My VB.Net is a little rusty so my syntax maybe off but that should be the general idea.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.