I have been working with a string[] array in C# that gets returned from a function call. I could possibly cast to a Generic collection, but I was w
string[]
Generic
Simple solution:
using System.Linq; ... public static int[] Distinct(int[] handles) { return handles.ToList().Distinct().ToArray(); }