The static System.IO.File class handles common file tasks:
File.WriteAllText(path, text)andFile.AppendAllText()File.ReadAllText(path)andFile.ReadAllLines(path)File.Exists(path),File.Delete(path)- Async versions exist:
File.ReadAllTextAsync().