How can I compare a text file contents to a string variable using c#
Compare text file contents to a string variable using C# Aaron Douglas 2901 16 Oct 2013 How can I compare a text file contents to a string variable using c#
var fileContents = File.ReadAllText(fileName);
return testString == filecontents;