static int SmallestNumberin(int[] numbers){
int smallestNumber = numbers[0];
for (int i = 1; i < numbers.Length +1; i++)
{
if(numbers[i] < smallestNumber){
smallestNumber = numbers[i];
}
}
return smallestNumber;
}