title: ? operator without else-part
body: <p>I use C# ? operator when I have if-statements that affects one row and it's all good. But lets say I have this code (using classic if-statements):</p>
  
  <pre><code>if(someStatement)
  {
      someBool = true;  //someBools value is unknown
  }
  else
  {
      //Do nothing
  }
  </code></pre>
  
  <p>This can be achieved on a one-liner by doing:</p>
  
  <pre><code>someBool = (someStatement) ? true : someBool;
  </code></pre>
  
  <p>But why can't I do something like this:</p>
  
  <pre><code>someBool = (someStatement) ? true : ;
  //or possibly
  someBool = (someStatement) ? true;
  </code></pre>
  
  <p>Is this possible in some way? If it is, is there any benefits of using one method over the other? And if not, why shouldn't you be able to do it?</p>