接口(Interface)替代抽象(Abstract)

基本抽象的属性,方法,可以使用接口(Interface)去替换。

下面演示中,就是以简单工厂(Simple Factory Pattern) 为例,把抽象类改为接口。

 

文件格式:.wmv;大小:8,716KB;长度:00:06:14。

下载地址:http://download.cnblogs.com/insus/CSharpNET/Ref_to_Interface.rar

 

posted @ 2011-02-15 20:08  Insus.NET  阅读(730)  评论(0编辑  收藏  举报