C Sharp (C#) - LINQ Fundamentals
What will be the output of this code snippet?
var words = new List<string> { "apple", "banana", "pear" };
var sorted = words.OrderByDescending(w => w.Length);
foreach(var w in sorted) Console.Write(w + " ");