title: How to take distinct/unique values from arraylist?
body: <p>Is there possible to take unique values from arraylist in c# ?,Actually I have an arraylist containing values = 100,101,102,101,100,102,103,but i want unique values from this such as 100,101,102,103. So what is c# syntax for this to take distinct/unique values from arralist? </p>
  
  <p>I tried</p>
  
  <pre><code>Arraylist Others=new Arraylist(); 
  others=TakeanotherValues();
  others.Distinct().Toarray();
  </code></pre>
  
  <p>But error is 'System.Collection.ArrayList Does not copntain defination for Distinct'</p>