I'm trying to generate a XML doc from a CSV. How do I go about inserting the element number into the xml. So for instance: If the CSV file has 10 messages, each message would get a number referencing it's sequence in the CSV file. I'd imagine there is someway to reference the index of the range variable but not sure how to do that using LINQ or other means. Thanks!

```
        LoadCSV();
        if (_loadedCSV == null)
            return;

        XElement xmlFile = new XElement("Root",
            from str in _loadedCSV
            let fields = str.Split(',')
            select new XElement("Track",
                new XAttribute("Message Number", <<ELEMENT NUMBER>>),
                new XElement("Date", fields[0]),
                new XElement("Time", fields[1]),
                new XElement("Message", fields[2])));

```