2 using System.Collections.Generic;
7 public static void Main()
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");
15 plist.Put (sym1, mt1);
16 plist.Put (sym2, mt2);
18 Console.WriteLine (plist);
19 foreach (MPlist p in plist)
20 Console.WriteLine (p.Key + ":" + p.Val);
21 Console.WriteLine (plist.Clone ());