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

How do you create a master page?

1052


Explain how do you validate the controls in an asp .net page?

938


What is dynamic web page with example?

969


How does a content page differ from a master page?

1052


List all templates of the repeater control.

1089


What would be salary for 8+ years of experience in ASP.NET in different metro city in india?

2473


Explain the difference between an exe and a dll?

1019


Explain client-side scripting?

1003


How many types of controls are there in asp.net?

1026


Explain the Order of events in an asp.net page?

1029


What is difference in .net 1.1 and .net 2.0?

1058


What is different authentication mechanisms used in ASP.NET?

1139


What is httpresponse?

980


What are assemblies and namespaces and explain the difference between them ?

1099


How to display validation messages in one control?

997