I was wondering if there is a syntax for puting a timer on a local variable that is using XmlTextReader, instead of generating a whole new method for the XmlTextReader? What I want to do is read an xml file and display the findings, but put restrictions on how long the XmlTextReader can read that file.