Below is one of the way to read .txt/text file using C#. In this code i have used StreamWriter and FileStream class provided by .NET Framework.
FileStream fileStream = new FileStream(@"c:\myFile.txt", FileMode.OpenOrCreate);
StreamWriter streamWriter = new StreamWriter(fileStream);
streamWriter.Write(" Write anything you want");