Browsed by
Tag: .Net Core

Reading and Writing Delimited Files in .Net Core

Reading and Writing Delimited Files in .Net Core

I often need to read and write files in delimited files from within a .Net Core application. It seems that there is no inbuilt parser for doing this so I wrote one. The code consists of a single static class “DelimtedFile” that has two methods, one to read a delimited file and one to write one.