repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
**** Merged from MCS ****
[mono-project.git]
/
mcs
/
btests
/
Array2.vb
blob
5a82f7ede5dd6a9bdf2f6147f6e01edc6a557385
1
' System.InvalidCastException: Cast from string to integer not valid
2
3
Imports System
4
5
Module
Array2
6
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
13
14
End Module
15