I have got a struct whose members  consists only of fixed-length Strings. I
want to write them out into a flat ASCII file with fixed length fields.
Later I must be able to re-read the flat file and put the data back into an
ArrayList of those structs.

Back in (I won't say "good old") VB6 days, I could use Put and Get with user
defined Types (= .NET structs) for this. Is there an easy way (OTHER THAN
manually writing out every member) to accomplish this?

BTW, I know I could use Serialize and Binary or XML files, but due to
reasons which are out of my influence, it HAS to be a fixed length ASCII
text file.

Thanks for any suggestions

Urs

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to