int min = numbers.Min();
public static int min(int[] numbers)
{
int min;
bool first_time = true;
foreach (int number in numbers)
{
if(first_time)
{
min = number
}
else
{
if (number < min)
{
min = number;
}
}
}
return min;
//note: there might be other simple ways
}