class Program
{
static void Main(string[] args)
{
Program pro = new Program();
int n = 8;
Console.WriteLine("{0},{1}", pro.Square(ref n),n);
Console.ReadKey();
}
private int Square(ref int x)
{
x *= 2;
return x;
}
}
以上程序的运行结果是_____________________。(可能有多行)
{
static void Main(string[] args)
{
Program pro = new Program();
int n = 8;
Console.WriteLine("{0},{1}", pro.Square(ref n),n);
Console.ReadKey();
}
private int Square(ref int x)
{
x *= 2;
return x;
}
}
以上程序的运行结果是_____________________。(可能有多行)