写在.NET 3.5中到的app.config? [英] Write to app.config in .Net 3.5?

查看:367
本文介绍了写在.NET 3.5中到的app.config?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够写入到app.config文件在我的.Net 3.5的Windows应用程序来存储一些系统设置?

I need to be able to write to the app.config file in my .Net 3.5 Windows app to store some system settings?

我可以从文件中读取,但我不能写呢??

I can read from the file but I can't write to it??

一切我所发现的是2.0,不看是相同的3.5。

Everything I have found is for 2.0 and doesn't look to be the same for 3.5.

推荐答案

.NET 2.0是.NET 3.5的一部分

.NET 2.0 is part of .NET 3.5

因此​​,只要使用你找到了.NET 2.0是什么,或者看一下:读/写App.config中使用.NET 2.0

So just use what you found for .NET 2.0, or have a look at: Read/Write App.config with .NET 2.0

同时看到这么回答:<一href="http://stackoverflow.com/questions/980440/update-app-config-system-net-setting-at-runtime">Update的app.config system.net在运行时设置

Also see SO answer: Update app.config system.net setting at runtime

这篇关于写在.NET 3.5中到的app.config?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆