projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Control.cs: Don't do anything in WmShowWindow if the control has been
[mono.git]
/
mcs
/
tests
/
test-21.cs
1
using System;
2
3
public class Blah {
4
5
public class Foo {
6
7
public Foo ()
8
{
9
Console.WriteLine ("Inside the Foo constructor now");
10
}
11
12
public int Bar (int i, int j)
13
{
14
Console.WriteLine ("The Bar method");
15
return i+j;
16
}
17
18
19
}
20
21
public static int Main ()
22
{
23
Foo f = new Foo ();
24
25
int j = f.Bar (2, 3);
26
Console.WriteLine ("Blah.Foo.Bar returned " + j);
27
28
if (j == 5)
29
return 0;
30
else
31
return 1;
32
33
}
34
35
}