Implement prototype pattern in .net, DOT NET Programming

How do you implement prototype pattern in .NET?

The Cloning is achieved by using the ICloneable of the System namespace. It has a "Clone" method that actually returns the reference of the similar  copy. The Clone method allows a Shallow copy and not a deep copy. In the Shallow copy if you made changes to the cloned object it actually changes on the main object  . So how is deep copy achieved, by using the "ISerializable" interface? So what do you do is the first serialize the object then deserialize back to a complete new copy. Any changes to this new copy do not reflect on the original copy of the object, this is known as Deep copy.

Posted Date: 9/22/2012 6:06:18 AM | Location : United States







Related Discussions:- Implement prototype pattern in .net, Assignment Help, Ask Question on Implement prototype pattern in .net, Get Answer, Expert's Help, Implement prototype pattern in .net Discussions

Write discussion on Implement prototype pattern in .net
Your posts are moderated
Related Questions
Mention the execution process for managed code. A piece of managed code is executed as follows:     Choosing a language compiler     Compiling the code to MSIL     Com

Install Modules to enhance Site Proformance Project Description: As shown, I need the subsequent modules installed, to improve loading time for my graphics and images, improv

What is DBMS? It is a collection of programs that enables user to make and maintain a database. In other words it is general-purpose software that gives the users with the proc

Project Description: I require a custom texture painting plug-in for the latest version of Unity 3D. The project can have features that are common in Photoshop and Mari for pain

What is a LinqDataSource control? The LinqDataSource control enables you to use LINQ. In an ASP.NET Web page by setting the properties in the markup text. You can use the contr

Improve an existing web application and design (ASP C# Azure Project Description: I want an experience programmer to take my Proof of Concept web app to a professional level.

What is the difference among a toolstrip drop-down button and a toolstrip split button? The difference among a toolstrip drop-down button and a toolstrip split button is that a

Project Description: We are seeking experienced .NET developers (possibly certified) to work with us on several future projects. You will have to pass a simple test to be consid

Develop a scrapebox software Project Description: I need a software name scrapebox Skills required are .NET, C Programming, Java, C# Programming, Software Architecture

Explain the new features in ADO.NET Entity Framework 4.0. ADO.NET Entity Framework 4.0 is introduced in .NET Framework 4.0 and contain the following new features: Persisten