Remove Duplicates from Class only if both strings are duplicates
I have a C# class that contains 2 strings, orderNumber and trackingNumber. I created a List of this class and put data into it. I need to remove any duplicate where the orderNumber and trackingNumber are both duplicates. Sometimes the class might contain a duplicate orderNumber but the trackingNumbers are different so I need to keep both.