projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new error test
[mono.git]
/
mcs
/
tests
/
gen-41.cs
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
static void Main ()
12
{
13
Stack<string> stack = new Stack<string> ();
14
stack.Hello (1, "Hello", "World");
15
}
16
}