Im trying to store score input as text file (.txt) and use it later. I created the file with File.Create() and I want to add text using StreamWriter
but i don't know how to get the path of the file I created with File.Create().
PS: i don't want to specify a path because it will be used by other people not only me so i created .txt file where my console app is being executed
i tried :
File.Create("lHe.txt");
using(StreamWriter sww= File.AppendText("lHe.txt"))
{
sww.WriteLine("+112");
}