IList<> IEnumerable<> ReadOnlyCollection<> 使用方向
摘要:
无论你把它声明为IList<string>,IEnumerable<string>,ReadOnlyCollection<string>或别的东西,是你......如果你期望它应该只作为一个序列来处理,那么IEnumerable<string>很可能是最合适的。如果订单很重要并且您希望人们能够通过索 阅读全文
posted @ 2019-06-26 17:34 马什么梅 阅读(288) 评论(0) 推荐(0) 编辑