设计模式之C#实现(一)--AbstractFactory[6]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 cuike519 的 blog

              public string showother(iabstractproducta a){

                     return a.tostring();

              }

       }

       public class productb2 : iabstractproductb{

              public string showself(){

                     return this.tostring();

              }

              public string showother(iabstractproducta a){

                     return a.tostring();

本文关键:设计模式,AbstractFactory,实现
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top