C#C
C#3y ago
Pandetthe

✅ Async writing and reading from file

Hi! I am creating some kind of storage using streamwriter/streamreader with CSVHelper that will be accessed from different threads. I am thinking about what is the best solution: have some lock variable, use filesharing in FileStream or my plan have no sense and there is other, faster and better way to do this. And are there any possible exception with filesharing?
Was this page helpful?