Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Arralist duplicate finder help...

$
0
0

This is what I have :

 int[] OutNumbers = new int[]            
 List<int> TempNumbers = new List<int>();

  if (!OutNumbers.Intersect(TempNumbers).Any())
     {
         Do something when find a duplicate
     }

I Need the reverse of this when the List Array finds a match to the int Array.. I know that the code below is wrong
just so you get the idea.

if (!TempNumbers.Intersect(TempNumbers).Any())
     {
         Do something when find a duplicate
     }

Thanks


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>