有程序段如下:
private void button1 _Click(object sender, EventArgs e)
{
int n=10,a b;
a=~n;
a++;
b=-n;
textBox1.Text=Convert.ToString(a+b);
}
程序运行后,单击窗口中的buttonl按钮,在文本框textBox1中显示的内容是()。
-20
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。