title: How to declare and set value for a bit variable in C#?
body: <p>I'm buiding a streaming video server in Windows Media Http Streaming Protocol (WMSP) with C#. I've read WMSP Specification. In Framing Header of packets as $H, $D... has 2 fields :</p>
  
  <p>B (1 bit): A 1-bit flag. This flag SHOULD be set to 1 if the next packet will be sent immediately after this packet is sent. In this context, "immediately" means that the server does not intentionally introduce a delay (such as a pacing delay) between the transmission of the two packets. In all other cases, the flag MUST be 0.&lt;56></p>
  
  <p>Frame (7 bits): A 7-bit field. This field MUST have the value 0x24. (If the B and Frame fields are treated as a single byte, the value of this byte will be 0x24 when the B field is 0, and 0xA4 when the B field is 1.)</p>
  
  <p>Data type of this 2 field is bit when the smallest data type in C# is byte. So, how to declare and set value for this 2 field ?</p>