看板 C_Sharp 關於我們 聯絡資訊
StreamWriter sw; sw = new StreamWriter( "log.txt", false, Encoding.ASCII); for(int i=0; i< listBox_Message.Items.Count; i++ ) { sw.Write( listBox_Message.Items[i].ToString() ); } sw.Close(); //========================================================== 以上是我的程式,我用筆記本(notepad)開,看起來正常。 可是用ultra edit開啟,為啥它會把它當binary檔來看哩?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.136.129.203