I dont think there is any such representation in C#
From the ECMA script
9.4.4.2 Integer literals Integer literals are used to write values of types int, uint, long, and ulong. Integer literals have two possible
forms: decimal and hexadecimal.
Also check .NET Compiler Platform ("Roslyn")
Probably C# 6.0 will add that feature
C# now tries to help us by introducing a binary literal. Let's start with what we currently have:
var num1 = 1234; //1234
var num2 = 0x1234; //4660
What could possible come now? Here's the answer:
var num3 = 0b1010; //10
Of course binary digits are becoming quite long very fast. This is why a nice separator has been introduced:
var num4 = 0b1100_1010; //202
There can be as many underscores as possible. The underscores can also be connected. And the best thing: Underscores do also work for normal numbers and hex literals:
var num5 = 1_234_567_890; //123456789
var num6 = 0xFF_FA_88_BC; //4294609084
var num7 = 0b10_01__01_10; //150
The only constraint of the underscore is, that of course a number cannot start with it.
Binary literals will make enumerations and bit vectors a little bit easier to understand and handle. It is just more close at what we have been thinking when creating such constructs.