int lowest = 2147483647; int[] nums = {4,2,1,74,6,77}; foreach(int num in nums) { if(num < lowest) { lowest = num; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)