C#

C#

Made by DeepSource

Numeric literal has incorrect grouping CS-R1131

Anti-pattern
Minor

Large numeric literals are separated using the underscore character to make it easier to read. In such cases, the numeric literal is grouped in a group of size of 3. However, in this case, the literal is unevenly grouped. This issue is raised whenever the grouping is uneven or the individual group size is not 3.

Bad Practice

var num = 123_45_6789;

Recommended

var num = 123_456_789;