using System; using System.Collections.Generic; using M17N.Core; public class Test { public static void Main() { MText mt = new MText ("a𝄀あc"); MText mt2; Console.WriteLine ("Length={0}", mt.Length); foreach (int c in mt) Console.WriteLine ("U+{0:X4}", c); Console.WriteLine (mt + new MText ("漢字")); mt2 = mt.dup (); mt[1] = 'b'; Console.WriteLine (mt2); } }