title: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
body: <p>I am getting this error in condiotional operator.</p>
  
  <pre><code>string remarks="";
  AddDgvNew[6, i].Value==null?remarks="":remarks=AddDgvNew[6,i].Value.ToString();
  </code></pre>