(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / btests / ForEachB.vb
blob85d8cb7e9f1352584fa27bac3f1a39d302cb1a44
1 Imports System
3 Module ForEachB
5 Class C1
6 ' public index As Integer = 0
8 Sub w()
9 Dim arr() As Integer = {1, 2, 3}
10 For Each index as integer In arr
11 Console.WriteLine(index)
12 Next
13 End Sub
14 End Class
16 Sub main()
17 Dim c As New C1()
18 c.w()
19 ' If c.index <> 3 Then
20 ' Throw New Exception("#FEB1")
21 ' End If
22 End Sub
24 End Module