C#从ini文本文件设置一个值..... [英] C# Setting a value from an ini text file.....

查看:119
本文介绍了C#从ini文本文件设置一个值.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

目前,我正在尝试实现可设置可变值的ini加载功能


Hi All,

At the moment I am trying to implement an ini loading function that will set variuos values


推荐答案

有几种ini解析器类可用:

http://stackoverflow.com/questions/217902/reading-writing-ini- file-in-c-sharp [ ^ ]

Ini文件非常简单.因此,如果您愿意的话,可以按自己的方式上课.

[更新]
----------

针对您的评论,请看一下: http://msdn.microsoft .com/en-us/library/system.io.ports.serialport.aspx [
There are several ini parser classes available:

http://stackoverflow.com/questions/217902/reading-writing-ini-file-in-c-sharp[^]

Ini files are very simple. So it''s fairly trivial to roll your own class if you so desire.

[Update]
----------

In response to your comment, take a look at : http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx[^]


这篇关于C#从ini文本文件设置一个值.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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