Parsing Tab delimited text files

后端 未结 5 724
长发绾君心
长发绾君心 2020-12-10 19:07

I have a tab delimited file with some columns and rows for example: some rows might not have value for some columns. What we know is that the \"order\" doe

5条回答
  •  情歌与酒
    2020-12-10 19:54

    Just read all lines of your file, then split on tab delimiter, to gain access to each column.

       var fileArray = File.ReadAllLines(myLocation);
        
            for(int i=0;i

提交回复
热议问题