aindrea
Member
- Joined
- Jun 5, 2018
- Messages
- 23
- Programming Experience
- 1-3
I have got a simple XmlReader with the path to my xml-file ans a settings object as constructor arguments. When executing the code, the debugger always tells me that "r" does not exist in the current context. How can this be?
C#:
XmlReader r = XmlReader.Create(@"C:\Users\<me>\Desktop\test.xml", new XmlReaderSettings());
XmlDocument doc = new XmlDocument();
doc.Load(r);