General Linq

Get Max Value From a Linq List in C#

Finding the max or min value in a sequence can be solve using the LINQ Methods. In it simplest.  Max method of LINQ finds max number of a list

Using Max Method:

Using Linq Query Syntax

 

 

 

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.