C
C#17mo ago
boi2346

Problem with Parsing contents from .XML file when file is being read

When I debug my program, everything such as my id and name contents within the file gets read but my route details contents comes up as null, here is my .xml file contents, and here is my code, also i have checked it is in correct location, its not malformed, etc. Everything is parsed and gets read but just my route details during the line: theBus.RouteDetails = xmlBus["Route_Details"].InnerText, when I debug it shows as null whereas the others are being read fine.
2 Replies
boi2346
boi2346OP17mo ago
here's my output when i debug
boi2346
boi2346OP17mo ago
sorry what do u mean by step over is it hover? so do i click continue? ohh i see i just debugged in the wrong area im stupid na thanks lol i feel like an idiot lmaoo
Want results from more Discord servers?
Add your server