*** empty log message ***
[m17n/m17n-lib-cs.git] / plist.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     MSymbol sym1 = new MSymbol ("sym1");
10     MSymbol sym2 = new MSymbol ("sym2");
11     MPlist plist = new MPlist ();
12     MText mt1 = new MText ("abc");
13     MText mt2 = new MText ("ABC");
14
15     plist.Put (sym1, mt1);
16     plist.Put (sym2, mt2);
17
18     Console.WriteLine (plist);
19     foreach (MPlist p in plist)
20       Console.WriteLine (p.Key + ":" + p.Val);
21     Console.WriteLine (plist.Clone ());
22   }
23 }