How does the .Max(...) work in LINQ? What will be the result of the following code?

var result = new[] { "hello", "world", "factory", "x" }.Max(p => p.Length);

Experience Level: Not defined
Tags: .NETC#LINQ

Answer

Comments

No Comments Yet.
Be the first to tell us what you think.