c# write line by line to file code example Example: c# write line System.Console.WriteLine("Your Text Here");