class Program
{
static void Main(string[] args)
{
//{0}表示第一个参数的值,而且必须以逗号分隔
Console.WriteLine("6与8哪个数字最大的数字是{0}__{1}" , max(6,8),max(99,22));
Console.ReadKey();
}
public static int max(int x,int y)
{
if (x>y)
return x;
else
return y;
}
}