*** empty log message ***
[m17n/m17n-lib-cs.git] / temp.cs
1 using System;
2 using System.Collections.Generic;
3 using M17N.Core;
4
5 public class Test
6 {
7   public static void Main()
8   {
9     MText mt = new MText ("a𝄀あc");
10     MText mt2;
11
12     Console.WriteLine ("Length={0}", mt.Length);
13     foreach (int c in mt)
14       Console.WriteLine ("U+{0:X4}", c);
15     Console.WriteLine (mt + new MText ("漢字"));
16     mt2 = mt.dup ();
17     mt[1] = 'b';
18     Console.WriteLine (mt2);
19   }
20 }