mahesh

mahesh

  • NA
  • 116
  • 77.5k

What is the namespace for XmlTextReader

Jul 19 2011 1:41 AM
Dear All,
 
A Silverlight project with reference to System.Xml namespace. Following code not working:

XmlReader xmlReader = new XmlTextReader(System.IO.File.OpenRead(MyFile));
 
The error said:

Error   18   The type or namespace name 'XmlTextReader' could not be found (are you missing a using directive or an assembly reference?) 

How to resolve this problem?




Answers (1)