I want to read the TextBox text (WinForms) and save it to the file.
It is giving error, saying that the file is being used in another location.
StreamWriter escreverentrada = new StreamWriter(@"escreveentrada.txt",true);
string valor = valortxt.ToString();
string nome = nometxt.ToString();
escreverentrada.WriteLine(valor);
escreverentrada.Close();