使用系統API函數,需要使用命名空間:System.Runtime.InteropServices;
1、if(textbox1.text=="")
2、if(textbox1.text==string.empty)
3、if(string.isnullorempty(textbox1.text))
使用系統API函數,需要使用命名空間:System.Runtime.InteropServices;
1、if(textbox1.text=="")
2、if(textbox1.text==string.empty)
3、if(string.isnullorempty(textbox1.text))