Skip to main content

Binary Literal with underscore syntax not supported in Luna

Luna supports up to C# 7 syntax. In newer version of C# a Binary Literal can include the underscore character _ before the main binary number, such as 0b_00100010. However, this is not supported in Luna.

Possible solution:

  • Remove the underscore character after the first "b". For example: 0b00100010.