Mid GoF Patterns

Cloning:?

  • When the Clone() method is called on an existing object (e.g., original),

it returns a new instance of the same type (e.g., GameCharacter) with the

same state (e.g., same Name and Health).

Benefits of the Prototype Pattern:

More from Design Patterns in C#

All questions for this course