How would one do a deep copy in .NET?

Answer Posted / pramod nikumbh

In C# if u want to deep allocation, u can used
serialization that is use ISerializable
for shallow copy u can use cloning, that is use Iclonable
interface

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ispostback property?

497


What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

532


How to make paging concepts in datagrid in ASP.NET?

545


Explain the use of errorprovider control in .net?

504


I’m having some trouble with cas. How can I diagnose my problem?

581






What is query string with example?

515


Explain Optimization technique description?

594


What is a user session?

497


5. What three Specific Job Positions do you target from Swatz Oils GROUP U.K?

1756


What are the memory-mapped files?

516


What are the namespace classes used in asp.net mvc? : asp.net mvc

536


What is strong-typing versus weak-typing?

577


What is role-based security in asp.net?

517


How to disable disable browser's Back button in asp.net (JavaScript)?

557


Explain the benefits of viewstate?

572