I have two arraylists, and I would like to have a new arraylist with only the uncommon items.
Is this the "best" or at least decent way to do it?
Public Function diffLists(ByRef first, ByRef second As Collection) As ArrayList
    Dim retval As New ArrayList()
    For Each element In first
        If Not second.Contains(element) Then
            retval.Add(element)
        End If
    Next
    retval.TrimToSize()
    Return retval
End Function
TIA