Answers for "read data from .txt file c#"

C#
5

read text file to string c#

string mystring = System.IO.File.ReadAllText(@"C:\Users\Public\TestFolder\WriteText.txt");
Posted by: Guest on February-26-2021
2

c# read from file

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

how to read a text file C#

string[] text = System.IO.File.ReadAllLines(@"C:\users\username\filepath\file.txt");
Posted by: Guest on October-06-2020

C# Answers by Framework

Browse Popular Code Answers by Language