title: C#: Confusion about ToUpper() and ToLower()
body: <p>if I do something like this...</p>
  
  <pre><code>String myVar = "in";
  if(myVar.ToUpper() == "in")
  {
      //do something
  }
  </code></pre>
  
  <p>This is not going to go inside "if" block ..right? </p>
  
  <p>or</p>
  
  <p>Is it going to check BOTH for "in" AND "IN" and do whatever is there inside that if? If so, why is that ? Isn't it supposed to skip what's inside of "if" block?</p>
  
  <p>Same confusion is about <code>ToLower()</code> too</p>
  
  <p><strong>Edit</strong>: So to check for both cases, I need to write:</p>
  
  <pre><code>if((myVar.ToUpper().Equals("in"))&amp;&amp;(myVar.Equals("in")))
  </code></pre>
  
  <p>Like this..right?</p>