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