title: Eliminate duplicates from array c#
body: <p>I'm making a basic Deal or No Deal game, in doing so I have to pick 10 finalists from an array, at random, without repeats.</p>
  
  <p>I have my structure and arrays set out like this</p>
  
  <pre><code>public struct People
  {
      public string firstname;
      public string lastname;
      public int age;
  }
  
  class Program
  {
      public static People[] People1 = new People[40];
      public static People[] Finalists1 = new People[10];
      public static People[] Finalist1 = new People[1];
  </code></pre>
  
  <p>And my finalists method set out like this</p>
  
  <pre><code>Random rand = new Random();
  
  for (int i = 0; i &lt; Finalists1.Length; i++)
  {
      num = rand.Next(0, People1.Length);           
      Finalists1[i].lastname = People1[num].lastname;
      Finalists1[i].firstname = People1[num].firstname;
      Finalists1[i].age = People1[num].age;
  }
  </code></pre>
  
  <p>How can I eliminate duplicate entries, while maintaining 10 people in the array?</p>