projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5714 from alexischr/update_bockbuild
[mono.git]
/
mcs
/
tests
/
gtest-collectioninit-02.cs
1
2
3
using System.Collections.Generic;
4
5
public class C
6
{
7
public static int Main ()
8
{
9
var o = new Dictionary<string, int>() { { "Foo", 3 } };
10
if (o ["Foo"] != 3)
11
return 1;
12
13
o = new Dictionary<string, int>() { { "A", 1 }, { "B", 2 } };
14
15
return 0;
16
}
17
}
18