I am new to programming and I have a question. If I have two functions, one creates a text file and writes into it, while the other opens the same text file and reads from i
Create a file and then close it. After can save data into that file. I did as below.
if (!File.Exists(filePath)) { File.Create(filePath).Close(); } File.WriteAllText(filePath, saveDataString)