In this article, find the C# code sample to create the text file System.IO library