summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-159.cs
blob: 09e1ea791a43f3f66f6db49172d99c283a5adcc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;

public class App {
  public static void Main() {
    Dictionary<string, int> values = new Dictionary<string, int>();
    values["one"] = 1; values["two"] = 2;

    foreach (string key in values.Keys) {
      System.Console.WriteLine("key: {0}", key);
    }
  }
}