this code throws me an error. I explain the error in the code:
public partial class Util
{
public string LoadFunctions()
{
string codeFunctionsString = "";
XmlReader reader = XmlReader.Create("fname2.xml");
//The line above throws an error:
//"An unhandled exception of type System.StackOverflowException occurred in mscorlib.dll"
//The file DOES exist, so I don t know what the problem is.
reader.Read();
while (reader.Read())
{
reader.ReadToFollowing("item");
//reader.
codeFunctionsString += reader.Value + "|";
Form1 win = new Form1();
win.CodeInput.Text += reader.Value + " ";
}
return codeFunctionsString;
}
}