Preview:
using System;

namespace ConsoleApp1
{
    internal class Program
    {
        public static void Main(string[] args)
        {
            int minNumber = MinimumNumber(10, 15, 5, 20);
            Console.WriteLine(minNumber);
        }

        public static int MinimumNumber(params int[] numberList)
        {
            int min = numberList[0];

            foreach (int number in numberList)
            {
                if (number < min) 
                {
                    min= number;
                }
            }
            return min;
        }
    }
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter