remove a value from an int array c#
<p>I have an array of int values <code>int[] ids</code>.
I have a Datatable <code>DataTable dt</code>
I want to keep only those values in the array that are there in the Datatable column ids</p>

<p>Say <code>int[] ids</code> contain <code>[2,3,4,5]</code>
<code>dt</code> contains <code>[2,3,4,3,4]</code> ---<code>ids</code> here may repeat</p>

<p>so output <code>ids</code> will have only <code>[2,3,4]</code></p>

<p>Pls suggest ways with lambda or linq....</p>

<p>I tried the crude way using two foreachs.</p>
