T
Tony Johansson
Hi!
Is it any advantage to use one over the other between these
two.
IFormatter serializer = new BinaryFormatter();
or
BinaryFormatter serializer = new BinaryFormatter();
If I have this
FileStream saveFile = new FileStream ("MyFile.bin", FileMode.Create,
FileAccess.Write);
serializer.serialize(saveFile, myObjectToSerialize);
saveFile.Close();
//Tony
Is it any advantage to use one over the other between these
two.
IFormatter serializer = new BinaryFormatter();
or
BinaryFormatter serializer = new BinaryFormatter();
If I have this
FileStream saveFile = new FileStream ("MyFile.bin", FileMode.Create,
FileAccess.Write);
serializer.serialize(saveFile, myObjectToSerialize);
saveFile.Close();
//Tony