Simplify the constructor of a derived class #4277
Unanswered
skyoxZ
asked this question in
Language Ideas
Replies: 2 comments 1 reply
-
This is a great idea! |
Beta Was this translation helpful? Give feedback.
0 replies
-
The language should be careful about synthesizing constructors based on order and name. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose such a class:
It would be great if the constructor can be defined as:
The name and comment of param is inherited.
This feature is also useful in asp.net core if I have such a base service class:
Beta Was this translation helpful? Give feedback.
All reactions