Is there a LINQ function for this is or would one have to code it themselves like this:
LINQ
static string GetLongestStringInList() { string long
You can use this: list.OrderByDescending(s => s.Length).First();
list.OrderByDescending(s => s.Length).First();