Understanding and Implementing Prototype Pattern in C# – Implementing ICloneable Interface and understanding Shallow and Deep Copy

This article talks about the prototype pattern, when should it be used. We will then see how the prototype pattern can be implemented in C#. Also, this article will discuss about the shallow copy and deep copy in C# and how can we implement ICloneable interface to implement prototype pattern in a .Net optimized way. Continue reading