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
What are major events in GLOBAL.ASAX file? The Global.asax file, which is derived from the HttpApplication class, maintains a pool of the HttpApplication objects, & assigns the

Using the attached XML file (xml_ind.xml) create a XSLT and CSS file for the following information: select the following information for ONLY the cars that cost more than $50,00

Why does an organization need to manage the workloads? The workload can be explained as an independent service or a set of code that can be implemented. It can be everything f

What are the components of WF 4.0? WF having of various components that work together to make desired workflow. The components of WF are given as follows: Workflows and a

Inventory billing and Management application in .net Project Description: Digital Inventory management Main Features         Multi user User friendly windows based s

Project Description: I am seeking a serious and motivated software developer that can create for me software like scanspeeder with all the functions as it has. Only thing that I

What are similarities between Class and structure? The similarities between structures and classes are as follows:- 1) Both can have constructors, properties, methods, field

Explain the concept of Web services in brief. A Web service may be explained as an independent and self-sustained unit of a software application that is hosted on the Web and i

Help with making a wrapper in c# for ffmpeg to extract audio from video

What is Common Type System (CTS)? CTS is the component of CLR by which .NET Framework provides support for multiple languages because it have a type system that is common acros