在C#中如何获得textbox中字符串的长度

如题所述

String s=TEXTBOX.getTEXT();
if(s.length()!=6)
System.out.println("输入6位内容 ");
温馨提示:答案为网友推荐,仅供参考
相似回答