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
[runtime] Require C# namespace to be quoted.
[mono-project.git]
/
mono
/
tests
/
decimal-array.cs
blob
beb0079718d625ce1d8f5a5f4576c3f10ab842d9
1
using
System
;
2
3
class
Test
4
{
5
public static int
Main
()
6
{
7
decimal
[,]
tab
=
new decimal
[
2
,
2
]
{{3,4}
,
{5,6}}
;
8
bool
b1
=
false
;
9
decimal
d
;
10
11
try
{
12
d
=
tab
[
1
,
2
];
13
}
catch
(
Exception e
) {
14
b1
=
true
;
15
}
16
17
if
(!
b1
)
18
return
1
;
19
20
d
=
tab
[
1
,
1
];
21
if
(
d
!=
6
)
22
return
1
;
23
24
return
0
;
25
}
26
}
27
28