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
remove NotWorking
[mcs.git]
/
tests
/
gtest-146.cs
blob
667d19d4e39c3a45fc5c6860a0da0b5b6ba55f7e
1
using
System
;
2
3
public class
MyLinkedList
<
T
> {
4
protected
Node first
;
5
6
protected class
Node
7
{
8
public
T item
;
9
10
public
Node
(
T item
)
11
{
12
this
.
item
=
item
;
13
}
14
}
15
}
16
17
class
SortedList
<
U
> :
MyLinkedList
<
U
>
18
{
19
public void
Insert
(
U x
) {
20
Node node
=
first
;
21
}
22
}
23
24
class
X
{
25
static void
Main
()
26
{ }
27
}