Answers for "c# load xml file as string"

C#
5

read xml file c#

XmlDocument doc = new XmlDocument();
using (StreamReader streamReader = new StreamReader(path_name, Encoding.UTF8))
{
	contents = streamReader.ReadToEnd();
}
doc.LoadXml(contents);
Posted by: Guest on June-11-2020

C# Answers by Framework

Browse Popular Code Answers by Language