guage-cs">using (var reader = new StreamReader(&quot;path\\to\\file.csv&quot;))
using (var csv = new CsvReader(reader, CultureInfo.InvariantCulture))
{
	// Do any configuration to `CsvReader` before creating CsvDataReader.
	using (var dr = new CsvDataReader(csv))
	{		
		var dt = new DataTable();
		dt.Load(dr);
	}
}
</code></pre>
<p>If you want to specify columns and column types, the data table will be loaded with the types automatically converted.</p>
<pre><code class="language-cs">using (var reader = new 