因為有可能長度不一,所以取的過程有可能會有錯誤,那就把Exception給吃掉。程式如下, string[] lines = System.IO.File.ReadAllLines(@"f:\t.txt"); ...
確定! 回上一頁