if string.IsNullOrEmpty(txtName.Text)) 其中的 感叹号

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/07 16:49:11
if string.IsNullOrEmpty(txtName.Text)) 其中的 感叹号

if string.IsNullOrEmpty(txtName.Text)) 其中的 感叹号
if string.IsNullOrEmpty(txtName.Text)) 其中的 感叹号

if string.IsNullOrEmpty(txtName.Text)) 其中的 感叹号
感叹号的意思是取反
即!true=false
!false=true