阅读背景:

如何使用linq和lambda从C#中的项列表生成索引字典

来源:互联网 

The following code gives me the indexed dictionary I want (I want to have the position of the items in the list handy), but is there a way to do this more directly? Perhaps without the "Select" portion? And is the "new" object needed to create the dictionary elements?The following code gives me the indexed diction




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: