使用替換方式,將以下正則表達式替換爲空:
[\t]*///[^\n]*\n
即可將全部以///開頭的summary註釋刪除
使用替換方式,將以下正則表達式替換爲空:
[\t]*///[^\n]*\n
即可將全部以///開頭的summary註釋刪除
this.richTextBox2.SelectionStart=this.richTextBox2.Text.Length; this.richTextBox2.ScrollToCaret();
public partial class MyMessageBox : Window { public static void Show(string strErrorInfo) {