说明:5.如果要将一个方法定义为无返回值类型的方法,则需要使用什么关键字?
6.下列代码中x的输出结果是___________。
private int Add(ref int x, int y)
{
x = x + y;
return x;
}
static void Main(string[] args)
{
Program pro = new Program();
int x = 30;
int y = 40;
Console.WriteL <weixin_43133008> 上传 | 大小:46kb