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
2008-08-31 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
gtest-154.cs
blob
318a6d2fd324949469d9830d0619578a818fb42c
1
public delegate int
T
<
X
> (
X x
);
2
3
public class
B
4
{
5
public static
T
<
X
>
M
<
X
> ()
6
{
7
return delegate
(
X x
)
{ return 5; }
;
8
}
9
10
public static
T
<
long
>
N
()
11
{
12
return delegate
(
long
x
)
{ return 6; }
;
13
}
14
}
15
16
public class
D
17
{
18
public static void
Main
()
19
{
20
B
.
M
<
int
>();
21
B
.
N
();
22
}
23
}