switch(xmlIterator.Current.Name)
{
case "name":
Console.WriteLine("Name: "+xmlIterator.Current.Value);
break;
case "info":
Console.WriteLine("Info: "+xmlIterator.Current.Value);
break;
case "pointinfo":
xmlIterator.Current.MoveToFirstChild();
case "pointpos":
xmlIterator.Current.MoveToFirstAttribute();
Console.Write("Pos: {0}",xmlIterator.Current.Value);
xmlIterator.Current.MoveToNextAttribute();
Console.WriteLine(", Points: {0}",xmlIterator.Current.Value);
break;
};
dvs när den kommer ner till "pointinfo" så ska den göra det som står där och sedan gå vidare och göra det som står under "pointpos", men när jag försöker göra det så får jag
Controll cant fall through one case lable to another.