If you are exposing your class through a library that others will use, you generally want to expose it via interfaces rather than concrete implementations. This will help if you decide to change the implementation of your class later to use a different concrete class. In that case the users of your library won't need to update their code since the interface doesn't change.

If you are just using it internally, you may not care so much, and using List<T> may be ok.

最新文章

  1. Ubuntu apt-get &quot;Hash Sum mismatch&quot; 问题解决方法
  2. python读取xml文件
  3. RMAN备份与恢复之表空间
  4. 静态成员变量.xml
  5. ffmpeg 研究
  6. java异常处理机制 (转载)
  7. PHP获得header头进行分析
  8. Properties/Property文件读取(键值均)乱码问题!
  9. Robot Framework安装配置 Linux
  10. Angular4 后台管理系统搭建(1) - 建立一个通用的Wijmo5 flexgrid分页器组件
  11. 201521123106 《Java程序设计》第5周学习总结
  12. Linux常见命令集锦
  13. .net core系列之初识asp.net core
  14. html的meta标签
  15. mysql索引规范
  16. 六.HashMap HashTable HashSet区别剖析总结
  17. Rose 2003使用的问题
  18. jQuery合并同一列中相同文本的相邻单元格
  19. CSS 中伪类的顺序
  20. Python学习 day04打卡

热门文章

  1. mvn创建flink项目
  2. error C1002: 在第 2 遍中编译器的堆空间不足
  3. 123457123456#0#----com.DoraGame.AiMiYu20--前拼后广--caimi-doraX
  4. 深入浅出深度学习:原理剖析与python实践_黄安埠(著) pdf
  5. JAVA协程 纤程 与Quasar 框架
  6. HTML布局排版5 测试某段html页面1
  7. 个人博客搭建全记录(Hexo,Github)
  8. 【JS】实用/常用函数/Function方法
  9. JAVA操作word方法
  10. CMS之promotion failed&amp;concurrent mode failure