title: Bitewise And Operator
body: <p>Wondering about the &amp;= operator. And how it works. From what i have gathered it finds out the last &quot;bit&quot; and returns it. Like for example 10 in binary is 101<strong>0</strong>. So it will return <strong>0</strong>.</p>
  <p>What i cannot wrap my head around is how its doing that. What is the process that leads to that result?</p>
  <pre><code>using System;
  
  namespace MyApplication
  {
    class Program
    {
      static void Main(string[] args)
      {
        int x = 5;
        x &amp;= 3;
        Console.WriteLine(x);  
       }
    }  //Output is 1
  }
  </code></pre>
  <p>Code from <a href="https://www.w3schools.com/cs/trycs.php?filename=demo_oper_ass7" rel="nofollow noreferrer">https://www.w3schools.com/cs/trycs.php?filename=demo_oper_ass7</a></p>