title: I'm new to visual basic and trying to understand how to set individual bits in a byte
body: <p>Hi, I am new to Visual Basic, I have a project where I need to be able to manipulate individual bits in a value.</p>
  
  <p>I need to be able to switch these bits between 1 and 0 and combine multiple occurrences of bits into one variable in my code.</p>
  
  <p>Each bit will represent a single TRUE / FALSE value, so I'm not looking for how to do a single TRUE / FALSE value in one variable, but rather multiple TRUE / FALSE values in one variable.</p>
  
  <p>Can someone please explain to me how I can achieve this please.</p>
  
  <p>Many thanks in advance.</p>