What will happen if application crashes during XmlDocument.Save()
method?
For example, I am saving some huge inforamtion into Xml file. Application crashes and file's xml format becomes incorrect and it can't be loaded again. How to prevent it?
Also, what about the application's setting file? Will the validity be broken If app crashes during saving setting's file ?