Answers for "c# read a string in from a file"

C#
1

c# read file into a string

string mystring = File.ReadAllText(your_file_location, Encoding.UTF8);
Posted by: Guest on May-07-2021
1

c# read from file

string[] lines = File.ReadAllLines(@"c:file.txt", Encoding.UTF8);
Posted by: Guest on September-21-2021

C# Answers by Framework

Browse Popular Code Answers by Language