D
D
Dmitry2017-09-22 13:37:18
visual studio
Dmitry, 2017-09-22 13:37:18

Where to store the user data of a Visual C# application?

Good afternoon. In the application, the user adds his lines to the ListBox, there are not many of them, no more than 50 pieces. I want to store these records and pick them up when the application starts. I tried to connect mdf, everything works, but it is redundant for my task. I think a regular file will do. It is clear that you can write and read from a text file simply, but there is probably a more "feng shui" way.
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
JustHacker, 2017-09-22
@JustHacker

Actually, Visual Studio for desktop applications has special settings files and it's quite easy to work with them.

D
d-stream, 2017-09-22
@d-stream

.config is probably the most obvious place
https://msdn.microsoft.com/en-us/library/system.co...

R
Roman, 2017-09-23
@yarosroman

SQLite. https://metanit.com/sharp/wpf/21.1.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question