File IO

Started by
1 comment, last by Stru 19 years, 6 months ago
How do you read/write files in a format that will work between versions of .NET? I've been using the BinaryFormatter but the files are incompatible between 1.0 and 1.1 Edit: Oops, I meant to put this in .NET forum
Advertisement
Serialize it to XML. Or you can use a BinaryWriter and write the raw data out.

In time the project grows, the ignorance of its devs it shows, with many a convoluted function, it plunges into deep compunction, the price of failure is high, Washu's mirth is nigh.

XML is out of the question, the files would get way too big. Is there no way to Serialize to binary without being dependent on the version of the framework?

This topic is closed to new replies.

Advertisement