Related resources for write to text file C#