Skip to content

AV1515: Include binary literals and digit separators #94

@bkoelman

Description

@bkoelman

Rule title: Don't use "magic" numbers (AV1515)

Binary literals example:

byte b1 = 0b00001111;

Digit separators example:

private const int OneGigabyte = 1_073_741_824;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions