which text writing classes are the most efficient for writing lots of small files?

Posted by Robert H on Stack Overflow See other posts from Stack Overflow or by Robert H
Published on 2012-08-31T15:28:55Z Indexed on 2012/08/31 15:38 UTC
Read the original article Hit count: 155

Filed under:

I have to write 300+ files to a server share on a hourly basis. A quick implementation using CreateText takes approximately 1.4 seconds per file. I know there is a better way to do this, but I am unsure which way is actually the quickest/most efficient; hence my question:

Which text writing class is the most efficient for writing hundreds of small files ( 336 bytes on average ) to a server share?

© Stack Overflow or respective owner

Related posts about c#