title: c# booleans: return true if first boolean is true and the second is false
body: <p>I'm learning C# and have attempted this question. Please see my two attempts underneath the question below, and can someone point out to me where/how I have gone wrong please? Thanks.</p>
  
  <p><strong>Attempt 1:</strong><br>
          <strong>Return true if the first boolean is true and the second is false.</strong></p>
  
  <pre><code>public static bool ReturnTrueAndFalse(bool boolean1, bool boolean2)
  {
      if (boolean1 = true &amp;&amp; (boolean2 = false))
      {
          return true;
      }
      return false;
  }
  </code></pre>
  
  <p><strong>Attempt 2:</strong></p>
  
  <pre><code>public static bool ReturnTrueAndFalse(bool boolean1, bool boolean2)
  {
      boolean1 = true;
      boolean2 = false;
      return boolean1 &amp;&amp; boolean2;
  }
  </code></pre>