User Tools

Site Tools


read_entire_file_into_a_string

Read Entire File into a String

…in one easy step.

String wholeFile = File.ReadAllText(@"C:\Temp.txt");
read_entire_file_into_a_string.txt · Last modified: 2016/12/31 19:05 (external edit)