There is a list
List<string> list = new List<string>(); list.Add("10;abc"); list.Add("14;hgg"); list.Add("15;xxc"); How to find the maximum element of the list array by the value up to; ?
var rez = list.Select(x=>x.Split(';')[0]).Max(); So finds the maximum element only without the second element.