a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
263 B
C#
19 lines
263 B
C#
|
|
|
|
using System.Collections.Generic;
|
|
|
|
public class C
|
|
{
|
|
public static int Main ()
|
|
{
|
|
var o = new Dictionary<string, int>() { { "Foo", 3 } };
|
|
if (o ["Foo"] != 3)
|
|
return 1;
|
|
|
|
o = new Dictionary<string, int>() { { "A", 1 }, { "B", 2 } };
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
|