Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xmlreader.Create return none

Tags:

xmlreader

i am trying to read from xml string But ,

 ` XmlReader reader=XmlReader.Create(new StringReader(stringXml)`  

reader is always none. why is reader objest none ?

like image 578
Tractatus Avatar asked Mar 22 '26 09:03

Tractatus


1 Answers

You have to call the read function. reader.Read();

like image 184
StefanHa Avatar answered Mar 26 '26 13:03

StefanHa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!