A quick way to show how to write a file in C# using StreamWriter!
Example:
using System;
using System.IO;
class MainClass
{
static void Main(string[] args)
{
StreamWriter MyStreamWriter = new StreamWriter(@"D:TestMaster.txt");
MyStreamWriter.WriteLine("I will Master Csharp soon!");
MyStreamWriter.Close();
Console.ReadLine();
}
}