看板 C_Sharp 關於我們 聯絡資訊
在properties.resources 中有1.txt 而1.txt中資料有多行 要怎麼分開每一行存取到不同地方?? 另外,假如resources 中有很多.txt 要怎麼讓系統隨機決定存取其中一個? ---補充--- 可不可以利用random製造出一個變數後 使讓一個string s =rand+.txt 再利用s去決定開啟的檔名? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.113.91.195 ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1464326153.A.502.html
ian90911: https://goo.gl/xPrTvP05/27 14:05
※ 編輯: avenger2236 (49.215.112.91), 05/27/2016 17:32:27