Click here to Skip to main content
15,845,785 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Where do we use copy constructor ?
Real Time use of Copy constructor ?
Sergey Alexandrovich Kryukov 8-Jan-13 23:20pm    
Real time?! Aha...


String str=new String(); // Constructor 
String strTwo=str; // copy constructor 
Share this answer
What does this have to do with ASP.NET ?

IF you have no idea about stuff like this, you should read books and articles, not ask broad questions in forums. You use a copy constructor to construct a copy.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900