**** Merged from MCS ****
[mono-project.git] / mcs / btests / Array2.vb
blob5a82f7ede5dd6a9bdf2f6147f6e01edc6a557385
1 ' System.InvalidCastException: Cast from string to integer not valid
3 Imports System
5 Module Array2
7 Sub Main()
8 Dim arr As Integer(,) = {{1, "Hello"}, {3, 4}}
9 If arr(0, 0) <> 1 Then
10 Throw New Exception("#A1")
11 End If
12 End Sub
14 End Module