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
[sdks] Fix README.md
[mono-project.git]
/
mcs
/
tests
/
gtest-014.cs
blob
e03d31a56da4c142786b8cfd01e0c74abd1cc4a7
1
public class
Stack
<
S
>
2
{
3
public
Stack
(
S s
)
4
{ }
5
6
public void
Push
(
S s
)
7
{ }
8
}
9
10
public class
X
11
{
12
public static void
Main
()
13
{
14
Stack
<
int
>
s1
=
new
Stack
<
int
> (
3
);
15
s1
.
Push
(
4
);
16
17
Stack
<
string
>
s2
=
new
Stack
<
string
> (
"Hello"
);
18
s2
.
Push
(
"Test"
);
19
}
20
}