CC#•Created by jaydactvyt on 2/18/2023 in #help ❔ I Need help getting the Streamwriter object to write to a text file.
TextWriter sw = new StreamWriter ("C:\Users\Sunwa\Desktop\Commands\Commands.txt");
sw.Write(commandEntered);
sw.Flush();
sw.Close();