Question:You need to ensure that the list of queued e-mail messages is sorted by priority value from highest to lowest. Which code segment should you add to line LE15 of the Local Entities? 

A Return Priority.GetValueOrDefault(-1).CompareTo(other.Priority.GetValueOrDefault(-1)) * -1 

B Return Priority.GetValueOrDefault(-1).CompareTo(other.Priority.GetValueOrDefault(-1)) 

C Return Priority.Value.CompareTo(other.Priority.Value) 

D Return Priority.Value.CompareTo(other.Priority.Value) * -1 

+ Answer
+ Report
Total Preview: 453

Copyright © 2024. Powered by Intellect Software Ltd