Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How would one do a deep copy in .NET?

Answer Posted / sanjay

I Agree clone() always gives deep copy.

Now I am just diverting from the tpoic. one of the question
asked during interview is : what is the difference b/w
Array.copy() and array.clone(). for me both gives deep copy
the only difference is array.clone() returns a object type
so you have to typecast it.

Please comment.............

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

1084


Define static constructor?

981


Which is the best institute to learn Microsoft Technologies and the faculty if you Know?

2104


What is connection pooling and how to enable and disable connection pooling?

977


What is asp net application object?

974


What are the new web part controls in asp.net 2.0 ?

999


Explain the difference between Web Garden and Web Farm?

975


What is odata in web api?

1043


What are the modes of updation in an updatepanel? What are triggers of an updatepanel?

949


What is asp.net introduction?

988


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

937


Why and where this web.config file is used?

1038


What are the advantages of the code-behind feature?

949


What are the differences between code behind and code inline?

1044


In asp.net, how can you validate drop down box?

1120