title: Why does this code even compile?
body: <p>Question: <br />
  Why does the below code (not written by me) even compile ?<br />
  I mean apart from the fact that option strict is off and option infer is on... </p>
  
  <pre><code>If Not actdate.DayOfWeek = DayOfWeek.Saturday And Not actdate.DayOfWeek.Sunday Then
  ...
  End If
  </code></pre>
  
  <del>
  **Edit:**<br />
  Just for those not fluent in VB, it's oviously the same as:
  </del>
  
  <pre><code>if (!(actdate.DayOfWeek == DayOfWeek.Saturday) &amp; !actdate.DayOfWeek.Sunday) {
  ...
  }
  </code></pre>
  
  <del>
  which basically answers the question already, since the thing to remember is that the VB-`AND` is actually a bitwise and.
  </del>