【发布时间】:2012-01-19 07:58:09
【问题描述】:
什么是最有效的转换方式
System.Collections.Generic.SortedList<string,Contact>
变成一个
IEnumerable<Contact>
IEnumerable 的使用者是一个 MVC 视图,它希望按照它们在 System.Collections.Generic.SortedList 中存储的顺序显示项目
【问题讨论】:
标签: c# generics collections ienumerable