sorry about that
change:
Code:
else if (tipsXML.FirstChild.Count<=number || number<0) //make sure the number we received is between 0 and the childs count minus 1 for last child.
to:
Code:
else if (tipsXML.FirstChild.ChildNodes.Count<=number || number<0) //make sure the number we received is between 0 and the childs count minus 1 for last child.