CsvReader的重載還挺多的我想知道他所有的重載的參數代表的是什麼
public CsvReader(TextReader reader, bool hasHeaders);
public CsvReader(TextReader reader, bool hasHeaders, char delimiter);
public CsvReader(TextReader reader, bool hasHeaders, int bufferSize);
public CsvReader(TextReader reader, bool hasHeaders, char delimiter, int bufferSize);
public CsvReader(TextReader reader, bool hasHeaders, char delimiter, char quote, char escape, char comment, ValueTrimmingOptions trimmingOptions);
public CsvReader(TextReader reader, bool hasHeaders, char delimiter, char quote, char escape, char comment, ValueTrimmingOptions trimmingOptions, int bufferSize);
如果你英語不差,從字面上能看出一些來,比如hasHeaders,是否有表頭,quote,作為引號的字符,delimiter分隔符,bufferSize緩沖大小等等
當然有文檔最好看文檔,再不確定自己試試看就會了。