C# how to deserialize xml to object

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ส.ค. 2024
  • C# how to deserialize xml to object
    On this channel you can find a lot of information about coding for beginners in different programming languages:C#,javascript,python,java,php and many others.
    Subscribe to the channel!

ความคิดเห็น • 3

  • @ivannarykin
    @ivannarykin 7 หลายเดือนก่อน

    Really great! Thank you very much!

  • @bhavaniprasadnimmakayala8799
    @bhavaniprasadnimmakayala8799 ปีที่แล้ว +2

    How to print all values present in the Xml file sir? Please tell sir?

    • @mocca9016
      @mocca9016 ปีที่แล้ว +1

      You can iterate through the Array with a foreach loop e.g:
      foreach (var xmlElement in yourXmlObj)
      {
      Console.WriteLine(xmlElement);
      }
      of course this is just pseudo code but that's the rough procedure