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