So I have tried looking up many tutorials and examples for creating, writing, and readin text files. I dont understand how to create a text file outside of my c# program folder because I always get errors. I want to create a text file to my desktop, write "I wrote in your file!" in it, and then read it and display it in a console window. Can I see some help or examples? Thanks!
static
{
sw.Write(
sw.Close();
}