title: C#: using OR (short circuited version) for assignment
body: <p>In <strong>Lua</strong> there is a nice feature for quickly checking if the result of a statement is <code>nil</code> or not and using short circuited version of <strong>or</strong> to react to the situation; something such as:</p>
  
  <pre><code>text = GetTextFromUser() or "default text"
  </code></pre>
  
  <p>which translates as assign the return value of <code>GetTextFromUser()</code> to <code>text</code> and if <code>GetTextFromUser()</code> returned <code>nil</code>, then assign <code>"default text"</code> to <code>text</code></p>
  
  <p>which basically is nice trick to use short circuit evaluation of <code>or</code> operator for assignment.</p>
  
  <p>I'm wondering if c# <code>||</code> operators also has such capabilities or not. If no, what is the shortest way to achieve the same behavior? ternary operator? if statement?</p>