title: C# Using != operator inside ?:
body: <p>I'm trying learn how the inequality operator (!=) works. I can understand the basics of the operator. It returns "true" if the operands are not equal and "false" otherwise.</p>
  
  <p><strong><em>But I don't seem to be able to wrap my mind around this particular example we've been given in programming class:</em></strong></p>
  
  <ol>
  <li>I set the public string for the Unity editor and I don't input any text.</li>
  <li>The two quote marks ("") mean that text is inputted on the public string.</li>
  <li>But in this case the condition must be ¿true? because I didn't input any text</li>
  </ol>
  
  <p>Why is the condition returning "false" and the console debugging "Hello Player 1"??? Isn't the condition "true" therefore the conditional operator has to return the <em>first expression</em> instead of the <em>second expression</em>?</p>
  
  <pre><code>public string playerName;
  
  void OnDisable() {
      playerName = (playerName != "") ? playerName : "Player 1";
      Debug.Log("Hello " + playerName);
  </code></pre>