且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在C#Windows窗体上保存/加载输入?

更新时间:2023-02-10 23:37:53

我建议您宁愿将文件另存为XML,然后在读取xml文件时,可以验证其架构以确定您的应用程序是否可以读取它.

I would suggest you rather save the file as XML, then when you read the xml file you can validate it's schema to determine if the your application can read it.

Xml文件是存储信息时的标准.这也使您的应用程序可以在将来的某个日期使用标准格式在另一个应用程序之间进行通信.哪些是xml文件.

Xml Files is a standard when it comes to store information. This also allows your application to maybe at a future date communitcate between another application using a standard format. Which are xml files.