标签:des style blog io color sp div on log
void Main() { Prototype p1=new Prototype(); Prototype p2=p1.Clone() as Prototype; object.ReferenceEquals(p1,p2).Dump(); } class Prototype:ICloneable{ public object Clone(){ return MemberwiseClone(); } }
DesignPattern_Creational_Prototype
标签:des style blog io color sp div on log
原文地址:http://www.cnblogs.com/rammderek/p/4102857.html