Methods

Get Max and Min Value From a List in C#

In C# you can find maximum or minimum value in a numeric array without by looping through the array; 

For Getting  the minimum value you can use MIN method and  For Getting  the maximum values you can use MAX method for the list items.

 

Output:

Leave a Comment

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