本文介绍了关于c#中文本框拆分的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 嗨朋友 i希望简单登录id到tcp连接。 我该怎么办?在文本框中拆分用户名和密码示例: 用户名和密码 b $ b 希望你动摇我的问题解决方案 (如果我找到你了 - 检查留给读者) string [] as = LoginTextBox。拆分( new char [] {' %'}); string user = as [ 0 ]; string password = as [ 1 ]; hi friendi want to make simple login id to tcp connection.how can i split username and password in textbox example :username&passwordhope you undrestand my question 解决方案 (if I got you - checks left to the reader)string [] as = LoginTextBox.Split(new char [] {'%'});string user = as[0];string password = as[1]; 这篇关于关于c#中文本框拆分的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!