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
2007-03-19 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
gtest-238-lib.cs
blob
4ff5d3342dbf19cebf32208f0b347ba1a9199713
1
// Compiler options: /t:library
2
using
System
;
3
4
public class
Foo
<
T
>
5
{
6
public int
Test
(
int
index
)
7
{
8
Console
.
WriteLine
(
"Test 1:
{0}
"
,
index
);
9
return
1
;
10
}
11
12
public int
Test
(
T index
)
13
{
14
Console
.
WriteLine
(
"Test 2:
{0}
"
,
index
);
15
return
2
;
16
}
17
}