title: Return reference to list element to be able to assign a value to it
body: <p>I came from C++ background and have a simple problem here. I have the following List as a class member:</p>
  
  <pre><code>public enum FieldColor {Empty, Blue, White};
  private List&lt;List&lt;FieldColor&gt;&gt; m_board = new List&lt;List&lt;FieldColor&gt;&gt;();
  </code></pre>
  
  <p>Now I have such a simple method:</p>
  
  <pre><code>private FieldColor GetFieldColor(GridCoordinates coordinates) {
      return m_board[coordinates.row][coordinates.column];
  }
  </code></pre>
  
  <p>Now I want to use this method to assign value to a <code>coordinate</code> and I have wrote this:</p>
  
  <pre><code>    GetFieldColor(coordinates) = color;
  </code></pre>
  
  <p>And I get this error:</p>
  
  <blockquote>
    <p>The left-hand side of an assignment must be a variable, property or
    indexer [Assembly-CSharp]</p>
  </blockquote>
  
  <p>What is the solution. </p>