I have a list of records in my generic list. Each record has this Date Field. how can I determine from the entire list of records what record has the latest date easily? Because I want to take that record and check another column's value once I find the latest record based on this date field in the list.
// Create a generic list of claim records
List<Claim> list = new List<Claim>();
list = Claim.GetClaimListGeneric(WebUtils.ConnectionPrefix, ContractId);
foreach (Claim claimrecord in list)
loop and find the latest record on lets say a field we call "UpdatedDate" here
Once I find that record then I am going to check another columns value here or even
after the foreach, not sure yet but I need to first find the latest record