The name 'B01111110' does not exist in the current context
C# does not support binary literals - you'd have to either define those Bxxx constants like
const byte B01111110 = 0x7E;
const byte B00110000 = 0x30;
...
or use the hex literals directly, i.e. instead of B01111110 write 0x7E.