2 using System.Collections.Generic;
7 public static void Main()
10 MText mt = new MText (str);
12 Console.WriteLine ("{0}, Length={1}", mt, mt.Length);
14 Console.WriteLine ("U+{0:X4}", c);
15 Console.WriteLine (mt + new MText ("漢字"));
17 MText mt2 = mt.dup ();
19 Console.WriteLine (mt);
20 Console.WriteLine (mt2);