open and read file in c# code example
Example 1: read file c#
string text = File.ReadAllText(@"c:\file.txt", Encoding.UTF8);
Example 2: c# open file
System.Diagnostics.Process.Start(filePath);
string text = File.ReadAllText(@"c:\file.txt", Encoding.UTF8);
System.Diagnostics.Process.Start(filePath);