repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add comment
[mcs.git]
/
tests
/
test-225.cs
blob
485f940da5fd17d7a54f8f754a68e38d95f3f612
1
using
System
;
2
3
class
A
{
4
public int
foo
=
1
;
5
}
6
7
class
B
:
A
{
8
public new int
foo
()
9
{
10
return
1
;
11
}
12
13
static void
Main
()
14
{
15
B b
=
new
B
();
16
Console
.
WriteLine
(
b
.
foo
());
17
}
18
}