Java Properties的.NET实现 - JProps4Net
fmms
13年前
<p>JProps4Net 是 C# 语言实现的类似 Java Properties 类。</p> <p></p> <pre class="brush:c#; toolbar: true; auto-links: false;">JavaProperties props = new JavaProperties(); props.SetProperty("Artichoke", "Gross"); props.SetProperty("Rein", "Deer"); props.SetProperty("one", "more"); FileStream fs = File.Open("\\the\\path\\to\\some\\file.xml", FileMode.Create); props.StoreToXml(fs, "More properties");</pre> <br /> <br /> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1327496028562" target="_blank">http://www.open-open.com/lib/view/home/1327496028562</a></p> <p></p>