title: populate a dictionary using linq
body: <p>I have the following empty Dictionary  </p>
  
  <pre><code>Dictionary&lt;Guid, string&gt; appTypeMap = new Dictionary&lt;Guid, string&gt;();
  </code></pre>
  
  <p>and the following list:   </p>
  
  <pre><code>List&lt;ApplicationType&gt; allApplicationTypes = _applicationTypeService.GetAll()
  </code></pre>
  
  <p>Application type is described as follows:</p>
  
  <pre><code>public class ApplicationType
  {
     public Guid id {get; set;}
     public String name {get; set;}
  }
  </code></pre>
  
  <p>I want to populate the dictionary using LINQ.<br>
  How do I do that?
  Thanks.</p>