projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump NuGet.BuildTasks to get new updates and switch to `dev` branch (#5566)
[mono.git]
/
mcs
/
tests
/
test-dictinit-05.cs
1
using System.Collections.Generic;
2
3
class A {
4
public A ()
5
{
6
Info = new Dictionary<string, int>();
7
}
8
9
public Dictionary<string, int> Info { get; set; }
10
}
11
12
class X
13
{
14
public static void Main ()
15
{
16
var x = new A () {
17
Info = {
18
["x"] = 1,
19
["y"] = 2
20
}
21
};
22
}
23
}