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

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

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

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