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

来源:学生作业帮助网 编辑:六六作业网 时间:2024/07/04 21:43:59
ifstring.IsNullOrEmpty(txtName.Text))其中的感叹号ifstring.IsNullOrEmpty(txtName.Text))其中的感叹号ifstring.IsNul

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

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