DEV Community

Discussion on: How to write to a file with C# - StackOverflow doesn't get it right

Collapse
 
dsqrt4 profile image
dsqrt4

Imports and exports from/to enterprise systems are a quite common use case that may require writing large text files.

Say you have separate point of sale and ERP or accounting software, then it’s common that these systems provide some means to dump product details or load transactions in the form of CSV or fixed with text files.

Either one side of these systems provides a proper API for you to retrieve data, which you can then write to a file that is understood by the other system, or you’ll have the joy of loading one exported text file and mapping it to the other systems import format.

Collapse
 
bekzat_karayev profile image
Bekzat Karayev

I see, thanks for the answer.