به نام خدا سلام بر برنامه نویسان عزیز 😉 در این مطلب از وب سایت پروگرم 98 کد گرفتن Depth و Value و Name فایل xml با استفاده از XmlTextReader در سی شارپ #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
کد گرفتن Depth و Value و Name فایل xml با استفاده از XmlTextReader در سی شارپ #C :
using System;
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
XmlTextReader reader = new XmlTextReader(@"C:\books.xml");
while (reader.Read())
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
XmlTextReader reader = new XmlTextReader(@"C:\books.xml");
while (reader.Read())