a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
313 B
C#
28 lines
313 B
C#
using System;
|
|
|
|
public class MyLinkedList<T> {
|
|
protected Node first;
|
|
|
|
protected class Node
|
|
{
|
|
public T item;
|
|
|
|
public Node (T item)
|
|
{
|
|
this.item = item;
|
|
}
|
|
}
|
|
}
|
|
|
|
class SortedList<U> : MyLinkedList<U>
|
|
{
|
|
public void Insert (U x) {
|
|
Node node = first;
|
|
}
|
|
}
|
|
|
|
class X {
|
|
public static void Main ()
|
|
{ }
|
|
}
|