Answers for "read all data from file c#"

C#
6

c# read all text from a file

using (StreamReader streamReader = new StreamReader(path_name, Encoding.UTF8))
{
  contents = streamReader.ReadToEnd();
}
Posted by: Guest on April-22-2020

C# Answers by Framework

Browse Popular Code Answers by Language