如何在c#Console App上阅读xml文件 [英] How to read xml Files on c# Console App

查看:89
本文介绍了如何在c#Console App上阅读xml文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何阅读c#Console App上的xml文件

How to read xml Files on c# Console App

推荐答案

这是一个相当含糊的问题,你位于叙利亚,所以我希望我是没有帮助任何坏人。



在这里,使用它:

http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.aspx [ ^ ]

它是框架的一部分。它就像.Load(文件)一样简单:

http:/ /msdn.microsoft.com/en-us/library/bb343181.aspx [ ^ ]
This is a rather vague question, and you are located in Syria, so I hope I''m not helping out any bad guys.

Here you go, use this:
http://msdn.microsoft.com/en-us/library/system.xml.linq.xdocument.aspx[^]
It''s part of the framework. It''s as simple as .Load(file):
http://msdn.microsoft.com/en-us/library/bb343181.aspx[^]


这篇关于如何在c#Console App上阅读xml文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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