[Proposal] Allow use ;
on noop constructor overloads
#8913
-
DescriptionAllows constructor definitions that only call other constructors to be defined with a ; instead of an empty block. public class Sample(int id, string name)
{
public Sample(): this(0, ""); // Use ";" instead of "{ }"
} Motivation
|
Beta Was this translation helpful? Give feedback.
Answered by
333fred
Dec 26, 2024
Replies: 1 comment 1 reply
-
Duplicate of #4309. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
nogic1008
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Duplicate of #4309.