How to get the minimum value from a list of integers in C#? - Biz Tech

How to get the minimum value from a list of integers in C#?

Listen
 List<int> numbers = new List<int> { 1, 5, 2, 7, 3 };
int min = numbers.Min();

Console.WriteLine(min);