title: Selecting List<string> into Dictionary with index
body: <p>I have a List</p>
  
  <pre><code>List&lt;string&gt; sList = new List&lt;string&gt;() { "a","b","c"};
  </code></pre>
  
  <p>And currently I am selecting this into a dictionary the following structure:</p>
  
  <pre><code>//(1,a)(2,b)(3,c)
  Dictionary&lt;int, string&gt; dResult = new Dictionary&lt;int, string&gt;();
  for(int i=0;i&lt; sList.Count;i++)
  {
      dResult.Add(i, sList[i]);
  }
  </code></pre>
  
  <p>but with Linq I've seen some slimmer way like <code>ToDictionary((x,index) =&gt;</code></p>
  
  <p>How is the correct syntax or how can this be solved within one line?</p>