title: How can I convert List<object> to Hashtable in C#?
body: <p>I have a list of objects, each containing an Id, Code and Description.</p>
  
  <p>I need to convert this list into a Hashtable, using <strong>Description</strong> as the key and <strong>Id</strong> as the value.</p>
  
  <p>This is so the Hashtable can then be serialised to JSON.</p>
  
  <p>Is there a way to convert from List&lt;Object&gt; to Hashtable without writing a loop to go through each item in the list?</p>