I need help with combining 2 lists

Heya, so i’m getting 2 lists, from my site, one for streets and one for numbers, for example LIST 1: 32, 401.
LIST 2: St.patrick, Parriel, New Yorkshire
I need to combine everything to get something like this
St. Patrick 32
St. Patrick 401
Parriel 32
Parriel 401
New Yorkshire 32
New Yorkshire 401

NAMSPACES

System.Collections.Generic
System.Linq
System.Text

LOLI CODE

BLOCK:ConstantList
  value = ["32", "401"]
  => VAR @ZIP
ENDBLOCK

BLOCK:ConstantList
  value = ["St.patrick", "New Yorkshire", "Parriel"]
  => VAR @STREET
ENDBLOCK

List<string> ZIP1 = new List<string> (ZIP);
List<string> STREET1 = new List<string> (STREET);
StringBuilder result = new StringBuilder();

foreach (var STREET1 in STREET1)
{
    foreach (var number in ZIP1)
    {
        result.AppendLine($"{STREET1} {number}");
    }
}
string ADDRESS = result.ToString();

MARK @ADDRESS

1 Like

Thank you very much, it worked