How to get values from anonymous list to a dictionary? : <p>Currently have the below code which upon compilation creates an anonymous list. I need to convert that to a standard list type preferably a dictionary. I can't find anything online to do so.</p>

<pre><code>_dbService.GetAllOrN().Select(x =&gt; new { x.Id, x.Name});
</code></pre>
