2 using System
.Collections
.Generic
;
6 public abstract class Node
9 public class ConcatNode
: Node
12 public Node
GetRoot ()
14 return new ConcatNode ();
17 public void Test (Node root
)
19 ConcatNode concat
= root
as ConcatNode
;
20 Console
.WriteLine (concat
);
26 public static void Main ()
28 Foo
<int> foo
= new Foo
<int> ();
29 Foo
<int>.Node root
= foo
.GetRoot ();