摘要: 好像是第二种效率高一点,取str字符串中123左边的所有字符:第一种Between(str,"","123"),而第二种是Between(str,null,"123")。 阅读全文
posted @ 2018-11-19 17:32 千丶吻 阅读(6402) 评论(1) 推荐(0)
摘要: 1 public static string InvokeExcute(string Command) 2 { 3 Command = Command.Trim().TrimEnd('&') + "&exit"; 4 using (Process p = new Process()) 5 { 6 p.StartInfo.FileName = "... 阅读全文
posted @ 2018-11-19 16:32 千丶吻 阅读(6599) 评论(2) 推荐(0)