为什么以及何时使用接口? [英] Why and when to use Interface?
本文介绍了为什么以及何时使用接口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请指导我有关接口,何时使用接口以及为什么使用接口的信息?
谢谢
Please guide me about interface, when to use interface and why we use interface?
Thanks
推荐答案
Google的第一个匹配项是此处 [ ^ ].
The first hit by Google is here[^] on CodeProject.
Google是您的朋友!从此处开始抽象类与接口 [
Google is your friend! Start here Abstract Class versus Interface[^]
Cheers!
Google可以帮助您- 用作搜索词的主题行会将您带到MSDN [
Google can help - your subject line used as a search term will take you to MSDN[^] and the start of a series of short articles on when and why to use interfaces.
Please, try to use google first - it can save you a lot of time...
这篇关于为什么以及何时使用接口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文