title: Create unique list by position c#
body: <p>What is the most efficient way of getting all the distinct items in order from a list?</p>
  <p>I have a List&lt;KeyValuePair&lt;string, string&gt;&gt; that possibly has multiple repeating items in it and only want the unique values by order within the list.</p>
  <p>For example,</p>
  <pre><code>name : Orange
  actualname : Orango
  name : Lime
  fullname : Lime Lime
  actualname : Limo
  </code></pre>
  <p>My expected output would be,</p>
  <pre><code>name
  fullname
  actualname
  </code></pre>
  <p>have tried with,</p>
  <p><code>arrayKeys.Select(pair =&gt; pair.Key).Distinct().ToArray()</code>
  but not match with the order of my expected output</p>