c#中一行写不下需另起一行时,怎么续行?续行符是哪一个?

解决方案 »

  1.   

    还能写不下?
    如果是字符串的话就用:
    string a = "";
    a+="";
      

  2.   

    是的,不用續寫,但是如果你要是為了清楚,一定要續寫的話,可以這樣,
    字符串 string str = "dddddddddddd" + 
                          "uuuuuuu";
    其它的直接回車就行了,試試吧
      

  3.   

    哈哈,支持fangwancong(聪头.珠海)
      

  4.   

    你可以象這樣寫的:
    string bs = "hello ! my name is " + 
                " hellokeytll !! " ;