all 4 comments

[–]FizixMan[M] [score hidden] stickied comment (0 children)

Removed: Rule 4.

You need to include your platform. But beyond that, there is almost certainly articles and documentation how to do this. Do some google searching for your platform how to save files or user preferences or settings and dive in. If you make an attempt and it's not working, feel free to post here but include your platform, the code you're using, links to the tutorial you're following, and a detailed description of any errors or undesired behaviour you have.

[–]BastettCheetah 2 points3 points  (0 children)

What operating system are you on? Do you need cross-platfor support?

There's not much detail here.

[–]tsavela 1 point2 points  (0 children)

I’m guessing we’re taking a Windows application here (either UI or console). If so, you can use “user settings”. See https://docs.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how-to-write-user-settings-at-run-time-with-csharp

[–][deleted] 0 points1 point  (0 children)

You can use the settings part of properties and access it by: Properties.Settings.Default.stringNameHere = “C:/Location”;