标签:style class c blog code a
从C# 3.0 之后提供了初始化器,可以初始化Dictionary
Dictionary<string, string> UseFor = new Dictionary<string,string> { {"station","站点"},{"city","城市"},{"province","省"} };
C# Dictionary 的初始化方式,布布扣,bubuko.com
C# Dictionary 的初始化方式
原文地址:http://www.cnblogs.com/yayaxxww/p/3748077.html