2 REM ExpectedError: BC30039
3 REM ErrorMessage: Loop control variable cannot be a property or a late-bound indexed array.
9 Private index
As Integer = 0
10 Public Property myindex() As Integer
14 Set(ByVal Value
As Integer)
20 Dim arr() As Integer = {1, 2, 3}
22 For Each myindex
In arr
23 Console
.WriteLine(myindex
)