Re: [問題] 請問 C# 讀 .txt 檔的方法?

看板C_Sharp作者 ( )時間17年前 (2008/09/05 16:08), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
參考 Microsoft.VisualBasic Using Microsoft.VisualBasic.Devices; Computer My = new Computer(); string Mdata; Mdata = My.FileSystem.ReadAllText("C:\\Test.txt"); Console.Write(Mdata); 我都是這樣讀txt裡的資料的..不知道有回答到你的問題嗎?? 如果有錯還請個位指教一下..感謝囉 -- 別人笑我太瘋顛 我笑他人看不穿 不見五陵豪傑墓 無花無酒鋤作田 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.20.51.237
文章代碼(AID): #18mEaNrT (C_Sharp)
文章代碼(AID): #18mEaNrT (C_Sharp)