new Dictionary<string, string>
{
{"a","n" },
{"b","n" },
{"c","n" },
{"d","n" },
{"e","n" },
{"f","n" },
};
2 回答
繁星coding
TA贡献1797条经验 获得超4个赞
public class TestA<Tkey,TValue> :IEnumerable<Tkey> { public void Add(Tkey key,TValue value) { } public IEnumerator<Tkey> GetEnumerator() { throw new NotImplementedException(); } IEnumerator IEnumerable.GetEnumerator() { throw new NotImplementedException(); } }
用ILSpy看下Dictionary就可以了。
- 2 回答
- 0 关注
- 3112 浏览
添加回答
举报
0/150
提交
取消