© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•8mo ago•
25 replies
あるホちゃん

Is there any particular reason/example that why would I ever need overloaded constructors?

Why can't I just go
Pizza pizza1 = new Pizza("stuffed crust", "tomato sauce", "american cheese","N/A");
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Constructors
C#CC# / help
3y ago
✅ Need help understanding inheritance with constructors
C#CC# / help
3y ago
Is there any reason why comparing struct types with null does not result in compile error?
C#CC# / help
4y ago
Is there any reason I should not use Winforms NotifyIcon on windows with maui?
C#CC# / help
2y ago