Can someone point me what's wrong with this code? I am simply trying to write to a file, but nothing gets written to the file. Sorry this is a stupid question.. File gets created but nothing is written on to it.
public static void Main(string[] args) {
StreamWriter writer = new StreamWriter(@"C:\File\Test.txt");
writer.WriteLine("Fun Times!");
Console.WriteLine("Finally !");
Console.ReadLine();
}