C Sharp (C#) - LINQ Fundamentals
What will be the output of the following code?
var fruits = new List<string> { "banana", "apple", "cherry" };
var sorted = fruits.OrderBy(f => f);
foreach(var fruit in sorted) {
Console.Write(fruit + " ");
}