You could use XDocument
and LINQ
You'll need to include the System.Xml.Linq.XDocument
namespace.
Then you could do something like:
XDocument document = XDocument.Load(filePath);
var modes = (from modes in document.Root.Descendants("Mode")
select modes.Attribute("Name").Value).ToList();