此刻脑子有点僵硬。 我有以下语法:-
string[] repname = Thread.CurrentPrincipal.Identity.ToString().Split('\');
我在拆分字符上遇到错误。谁能建议我如何使用\字符作为分隔符进行拆分?
干杯
最佳答案
关于c# - 基于 char 的字符串拆分\,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/443662/
此刻脑子有点僵硬。 我有以下语法:-
string[] repname = Thread.CurrentPrincipal.Identity.ToString().Split('\');
我在拆分字符上遇到错误。谁能建议我如何使用\字符作为分隔符进行拆分?
干杯
最佳答案
关于c# - 基于 char 的字符串拆分\,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/443662/