you can use System.Xml.Linq to get all the elements and the required attributes as below
XDocument document = XDocument.Load(@"D:\New Text Document.xml");
var eleCollection = document.Elements("element");
foreach (var element in eleCollection)
{
var type = element.Attribute("Type").Value;
}