title: Use Property to get value from List<string>
body: <pre><code>private List&lt;string&gt; _S3 = new List&lt;string&gt;();
  public string S3[int index]
  {
      get
      {
          return _S3[index];
      }
  }
  </code></pre>
  
  <p>Only problem is I get 13 errors. I want to call <code>string temp = S3[0];</code> and get the string value from the list with the particular index.</p>