In Linq to Entities / Entity SQL with type conversion, choose Max.

entity-framework linq max select type-conversion

Accepted Answer

3
6/29/2009 12:51:29 PM

Popular Answer

This operates...

String[] numbers = new String[] { "2", "34", "5", "23", "5", "1" };

var max = numbers.Max(x => Int32.Parse(x));


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow