repo.or.cz
/
mono.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git]
/
mono
/
tests
/
exception11.cs
blob
e0bd8487b263031d21c99f550af85fb1dac2971c
1
using
System
;
2
3
public class
Test
{
4
5
public static int
Main
(
string
[]
args
) {
6
7
int
c
=
0
;
8
try
9
{
10
c
=
0
;
11
}
12
catch
(
Exception e
)
13
{
14
Console
.
WriteLine
(
"Exception:
{0}
"
,
e
.
Message
);
15
}
16
finally
17
{
18
Console
.
WriteLine
(
"Finally...
{0}
"
,
c
++);
19
}
20
21
if
(
c
!=
1
)
22
return
1
;
23
24
return
0
;
25
}
26
}