Answers for "C# min max a list"

C#
2

list.max c#

var list = new List<int> { 1, 2, 3, 4, 5, 6, 7, 16, 17 };  
Console.WriteLine("MAX=>" + list.Max(z => z));  
Console.WriteLine("MIN=>" + list.Min(z => z));
Posted by: Guest on July-30-2021

C# Answers by Framework

Browse Popular Code Answers by Language