Answers for "c# read all text from a file"

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