LogiQuest
Back to Generics
11

What is the output of the following program?

var words = new List<string> { "kiwi", "fig", "banana" };
Console.WriteLine(string.Join(",", words.OrderBy(w => w.Length)));
Medium

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.