Question: I am using PHP Include:

<`?php include 'file1.php'; ?>`

i want to only include the first few lines of file1.php - is this possible?

Answer: 
I think it's because the extraClasses.GetEnumerator().MoveNext is invoked when you 'touch' it in debugmode. This way you'll *lose* an element. This is probably because a **yield return** within the SelectNodes is used.

You could try this:

```
var extraClasses = new List<XmlElement>( xml.SelectNodes("//Class[@level='2']") );  

foreach (XmlElement extraClass in extraClasses) {
/* create some new nodes and append to the xml */
}

```
Managed to solve the problem by using:

```
var extraClasses = new List<XmlNode>(xml.SelectNodes("//Class[@level='2']").Cast<XmlNode>());

```