Is it efficient to use xml when it is required to update data frequently? RRS feed

  • Question

  • I'm having to create a project using C or C#. I'm not allowed to use database.

    Should I use xml or anything else when it is required to frequently update data.

    Believes in simplicity, power and stability.
    Sunday, June 12, 2011 10:29 AM


  • XML is good for interoperability and compatibility with other applications, but it is very verbose and therefore not efficient when it comes to store data that is only going to be used by a single program. If you want the maximum efficiency for your data storage (rather than ease of development and debugging, or interoperability, or readability of your files), then it is probably better to use a binary file.

    That said, this Training and Certification forum is not the best place to ask such a question. I suggest perusing the MSDN forums devoted to software development, where you will probably get more detailed and informed answers about this topic.


    Sunday, June 12, 2011 6:25 PM