2 REM ExpectedError: BC30064
\r
3 REM ErrorMessage: 'ReadOnly' variable cannot be target of an assignment.
\r
10 Public ReadOnly index As Integer = 0
\r
14 Console.WriteLine("Hello World")
\r
19 For index = 11 To 14
\r
20 Console.WriteLine("Hello World")
\r