Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. var list = Directory.GetFiles(directoryRelativePath);
  2.  
  3. foreach(var file in list)
  4. {
  5. var fileFullName = file.EndsWith("xml");
  6. var doc = new XmlDocument();
  7. doc.Load(fileFullName);
  8. //Parse the xml document as you wish here
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement