I've got a problem with ForEach loop. Im trying to loop through multiple variables of same kind just increment different. 
Im trying to change the TextBox Text depending on if Label from same row has text.

This is how I could make it to just write and IF sentence for each Label but I was looking a way to loop each of these blocks through ForEach loop. I've got total of 8 Labels and Textboxes.

Here is the code: ( Im sure you'll figure out what I'm after :) )

```
IF ( $Label1.Text.Length -ne 0 ) 
{ 
    $Label1.Visible = $true
    $TextBox1.Visible = $true

    $TextBox1.Text = ( "Enter new name for " + $Label1.Text ) 
}

```

example of ForEach

```
$Count = 1..8

$Count | ForEach-Object {

     IF ( $Label($_).Text.Length -ne 0 )
     {
          $Label($_).Visible = $true
          $TextBox($_).Visible = $true

          $TextBox($_).Text = ( "Enter new name for " + $Label($_).Text )
     }
}

```

etc...

I tried putting variables in array and loop through that way but ofcourse array changes the type to string and it doesnt work...