public async Task <string> ReadWord() { var setting = await FileHelp.GetWordArrByTxt("Setting", "WordsFileSetting-word.txt"); foreach (var wordFile in setting) { var wordArr = FileHelp.GetWordsByWordDocument("EnWords", wordFile); foreach (var wordLine in wordArr) { var arr = wordLine.Split(':', ':'); if (arr.Length < 2) { throw new NullReferenceException("文本行数据异常"); } // 英文单词 string word = arr[0].Trim(); // 注释 string annotation = arr[1].Trim(); } } return(null); }