Calculates the union of two sets.
List<T>
The first input list, whose distinct elements form the first set for the union.
The second input list, whose distinct elements form the second set for the union.
The output list, which consists of the set union of the two lists.
The lists are treated as mathematical sets, which can have distinct objects only.