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
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
gtest-041.cs
blob
d30a2d9a3ee10fce9ed1c0151771af2e0aa7a2f3
1
// We may use type parameters as `params' type.
2
3
class
Stack
<
T
>
4
{
5
public void
Hello
(
int
a
,
params
T
[]
args
)
6
{ }
7
}
8
9
class
X
10
{
11
public static void
Main
()
12
{
13
Stack
<
string
>
stack
=
new
Stack
<
string
> ();
14
stack
.
Hello
(
1
,
"Hello"
,
"World"
);
15
}
16
}