title: C# If statement, multiple conditions
body: <p>I was creating an averaging program in C# just to make sure I got array's.</p>
  
  <p>What I'm trying to do is ask the user if they want to average whole numbers, or non whole numbers. I thought an If statement would be appropriate.</p>
  
  <p>But the problem is, I dont know what operator to use for MULTIPLE conditions, I think this is best explained by seeing the code. (Even I'm getting confused now D:)</p>
  
  <pre><code>Console.WriteLine("\n Do you want to average whole numbers, or non-whole numbers? \n");
  
          if (Console.ReadLine() == "whole numbers" &amp;&amp; Console.ReadLine() == "Whole numbers")
          {
  
              Console.WriteLine("You chose whole numbers.");
  
          }
  </code></pre>
  
  <p>My confusion occurs at the "Condition" &amp;&amp; "Condition2" bit. I don't know if &amp;&amp; is the correct operator, and C# certainly doesn't think so! </p>
  
  <p>I've looked across the C# MSDN Operator list, but couldn't really understand which one to use...</p>
  
  <p>P.S: The whole reason I'm doing the multiple conditions is because of capital letters ETC, if any of you knew how to combat that with a way to disregard caps and other error prone user ticks, then please tell me :D</p>