title: Primitive Boolean size in C#
body: <p>How are boolean variables in C# stored in memory? That is, are they stored as a byte and the other 7 bits are wasted, or, in the case of arrays, are they grouped into 1-byte blocks of booleans?</p>
  
  <p>This answers the same question regarding Java (<a href="https://stackoverflow.com/questions/1907318/java-boolean-primitive-type-size">Why is Java&#39;s boolean primitive size not defined?</a>). Are Java and C# the same in this regard?</p>