Is there a LINQ function for getting the longest string in a list of strings? April 26, 2023 by Tarik This will do it with only one loop iteration: list.Aggregate("", (max, cur) => max.Length > cur.Length ? max : cur);