Linq Example 36 - Min

2:29 AM
Linq Query:

//Minimum
            int[] intNumbers = { 1, 2, 3, 55, 99, 74, 102,0 };

            int min = intNumbers.Min();

            Console.WriteLine(min);

//

Output:
0

0 comments:

Post a Comment