DEV Community

Discussion on: The Prototype Design Pattern C# .net core

 
gary_woodfine profile image
Gary Woodfine

prototype pattern lets you create new instances of a class by duplicating an already existing instance. You create new instance of class by copying an existing class.

Singleton pattern ensures there is only 1 of class. You do not create new instances of a singleton class, you only have 1 instance