Create fixed length text file

  • Thread starter Thread starter Darin Browne
  • Start date Start date
D

Darin Browne

I have to create a fixed length text file and was hoping
someone could point me to an example or resources that
could help explain how it is done in C#.

Thanks.
 
Hi Darin,

Why don't you just write preffered number of (byte)0 values or spaces to the
file?
 
What format does your file have to take? I would just create an in-memory
data structure that represents the data you want to write out, then write
that structure to disk when the time comes.

Eric
 
Back
Top