title: How Ternary operator works in C#
body: <p>i recently try out unity and saw in one of the youtube video clip they code like this:</p>
  
  <pre><code>    Random.Range(0, 2) == 0 ? -1 : 1;
  </code></pre>
  
  <p>i understand the Random.Range() but what does the the part after mean?
  thank you in advance</p>