title: The operand of an increment or decrement operator must be a variable, property or indexer
body: <p>can someone help me ?
  I have this function code in C# :</p>
  
  <pre><code>    public static int count ()
      {
          count++;
          return count;
      }
  </code></pre>
  
  <p>But, I get the message :"The operand of an increment or decrement operator must be a variable, property or indexer"</p>
  
  <p>Can you explain why?</p>
  
  <p>Thanks!</p>