如何构建具有两个维度的列表?
我像python一样试过这个
Tuple<string,int> tpl = new Tuple<string,int>("",0);
List<Tuple> lst = new List<Tuple>();
Run Code Online (Sandbox Code Playgroud)
还有这个
List<string,int> lst = new <string,int> ();
Run Code Online (Sandbox Code Playgroud)
没有运气.