a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
35 lines
328 B
C#
35 lines
328 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
class C
|
|
{
|
|
string Name;
|
|
int value;
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
|
|
void Test_1 ()
|
|
{
|
|
var o = new Dictionary<string, int> ()
|
|
{
|
|
{
|
|
"Foo", 3
|
|
},
|
|
{
|
|
"Bar", 1
|
|
},
|
|
};
|
|
}
|
|
|
|
void Test_2 ()
|
|
{
|
|
var user = new C()
|
|
{
|
|
Name = "nn",
|
|
value = 8
|
|
};
|
|
}
|
|
}
|