If you're using .net 3.5 and above:
sl = (string[])sl.Distinct().ToArray(typeof(string));
This way you're only processing distinct values
If it is important to warn the user, then you create new Array and compare length of sl and this new array.
String[] sl_distinct = (string[])sl.Distinct().ToArray(typeof(string));
if (sl.length != sl_distinct.length){
}