title: Convert list to dictionary using linq and not worrying about duplicates
body: <p>I have a list of Person objects. I want to convert to a Dictionary where the key is the first and last name (concatenated) and the value is the Person object.</p>
  
  <p>The issue is that I have some duplicated people, so this blows up if I use this code:</p>
  
  <pre><code>private Dictionary&lt;string, Person&gt; _people = new Dictionary&lt;string, Person&gt;();
  
  _people = personList.ToDictionary(
      e =&gt; e.FirstandLastName,
      StringComparer.OrdinalIgnoreCase);
  </code></pre>
  
  <p>I know it sounds weird but I don't really care about duplicates names for now. If there are multiple names I just want to grab one. Is there anyway I can write this code above so it just takes one of the names and doesn't blow up on duplicates?</p>