T> System.Collections.Generic.SortedList<转换字符串;IEnumerable
本文关键字:转换 字符串 IEnumerable SortedList Generic gt System Collections | 更新日期: 2023-09-27 18:17:47
转换
最有效的方法是什么?System.Collections.Generic.SortedList<string,Contact>
到
IEnumerable<Contact>
IEnumerable的消费者是一个MVC视图,它希望按照存储在System.Collections.Generic.SortedList
SortedList.Values
或SortedList.GetValueList
(仅在非通用版本中)正是您所需要的。