how to read file download C# code example Example: read file c# string text = File.ReadAllText(@"c:\file.txt", Encoding.UTF8);