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
Is spending in projects constant throughout the project? Generally in initial stage of projects (design and requirement phase) the cost is very less (as you require maximum bus

Ask queyuyuystion #Minimum 100 words accepted#

This is a project specifically made for shirohime. Skills required: .NET, Fashion Design, Virtual Assistant

Can we get a strongly typed resource class? You can now get strongly types classes in the VS.NET intellisense as shown in the figure below. Figure: - Strongly typed re

TASK - DESIGN ALGORITHM You are required to design a suitable solution algorithm by using either structured chart, pseudocode or flowchart. This diagram should clarify the proce

What's the use of resource manager class? The ResourceManager class helps us to read the resource files and get the values by using key. At First you require to create the obje

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

What is the difference between "DataSet" and "DataReader"? The major differences between "DataSet" and "DataReader" are as follows:- 1)The "DataSet" is a disconnected archit

What is the purpose of DOTNET? Dot Net Is a collection of products like C#, ASp.Net, Vb.Net, XML. The purpose of .Net is that we can simply upgrade and degrade our programs whi

What I need is the following: I need an implementation in matlab under windows to open a named pipe and to read data from the pipe (an other program writes into the pipe) in quasi