C#C
C#3y ago
Sven ☕

❔ Is there a way to remove brackets from empty methods?

E.g.
public MismatchedEnumLengthsException() : base("Length of values and enums are different. You are required to pass as many values as there are enums")
{
}

I don't need those brackets. Can't I make this look prettier?
Was this page helpful?