C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
1
Reply
what is prototype design pattern in .net
Jennifer Sack
13y
2.5k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
It can be used in situation where you need exact duplicate copy of object. Both object, original and copied object have different memory space. So if we change any thing in one object it will not reflect in another object. Example: Let us take a example of banking system. One of the customer say, i want to open an account for my wife with same feature available in my account. So we can implement prototype pattern to create same feature account. In .NET we can use MemberwiseClone for creating that.
Dhanik Sahni
8y
1
Define Lazy Define Pattern
Explain Singleton design pattern in .net
Message