title: Only assignment, call, increment, decrement, and new object expressions can be used as a statement and ; Expected
body: <pre><code>public string MessageItem (string ItemName)
  {
      get { return dsMessageContents.Tables["input"].Rows[0].ToString();}
  }
  </code></pre>
  
  <p>I am getting 2 errors:</p>
  
  <ol>
  <li>Only assignment, call, increment, decrements, and new object expressions can be used as a statement, and </li>
  <li>expected ;</li>
  </ol>