private static void WriteInfoTofile(string filePath, List<string[]> list)
{
// 打开文件时 一定要注意编码 也许你的那个文件并不是GBK编码的
using (StreamWriter sw = new StreamWriter(filePath, false, Encoding.GetEncoding("GBK")))
{
//一个string[] 是一行 ,一行中以tab键分隔
foreach (string[] strArray in list)
{
string line = string.Empty;
foreach (string temp in strArray)
{
//Console.WriteLine(temp);
if (!string.IsNullOrEmpty(temp))
{
line += temp;
line += "\t";
}
}