I have this list:
public static List<PhraseModel> phraseList;
Where the PhraseModel class looks like this:
public class PhraseModel
{
public string PhraseId { get; set; }
public string English { get; set; }
public string PhraseNum { get; set; }
}
How can I find the maximum value of PhraseNum using LINQ
apologies to those that made the comments. PhraseNum is always an int number but in a string field. It was set to string because of the way it's read from Excel