class ConcretePrototype1 : Prototype { // Constructor public ConcretePrototype1(string id) : base(id) { } public override Prototype Clone() { // Shallow copy return (Prototype)this.MemberwiseClone(); } }
如下代碼中base(id)是個什么意思?有沒有知道的哈,謝謝~
HUH函數(shù)
2023-04-24 19:15:44