© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•16mo ago•
46 replies
tommy

✅ difference between `MyClass obj2 = obj1;` and `MyClass obj2 = new MyClass(obj1);`

I am learning copy constructors and trying to know how to create shallow and deep copy constructors.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Difference between string and string?
C#CC# / help
8mo ago
✅ Difference between CreateApplicationBuilder and CreateDefaultBuilder?
C#CC# / help
2y ago
❔ Difference between Dispatchertimer and Stopwatch?
C#CC# / help
3y ago