Anyone have a quick method for de-duplicating a generic List in C#?
It worked for me. simply use
List liIDs = liIDs.Distinct().ToList();
Replace "Type" with your desired type e.g. int.