© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
31 replies
Pacrombie

❔ Abstract forced empty constructor inheritance

As shown in the pictures, do I really have to have these empty constructors in my child class if I want the functionality of the abstract class's constructors? If I remove them from the child, I get an error:
CS1729: 'PlayerAbility' does not contain a constructor that takes 0 arguments
CS1729: 'PlayerAbility' does not contain a constructor that takes 0 arguments
image.png
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

❔ empty constructor
C#CC# / help
3y ago
I cant figure out constructor inheritance
C#CC# / help
3y ago