DRAG DROP
You are developing a class named Temperature.
You need to ensure that collections of Temperature objects are sortable. You have the following code:
Which code segments should you include in Target 1, Target 2 and Target 3 to complete the code? (To answer, drag the appropriate code segments to
the correct targets in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:
https://docs.microsoft.com/en-us/dotnet/api/system.icomparable.compareto?view=netframework-4.8
When calling the method you are using that instance of this class and comparing it to the other object passed in, so it should be this.Fahrenheit …
Here should be this.Farienheit.CompareTo()