Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

C# Core - Application Data

$
0
0
Hello everyone! Just a quick question: I would like to save some application data, similar to here: https://technet.microsoft.com/en-us/library/bb397755(v=vs.100).aspx/css But this seems to be either WinForm or .NET exclusive? At least I cannot use these methods, as properties does not exist. Furthermore, I feel like the way of serialising data in that manner is a bad sub-optimal for my liking, as I like to group multiple data-entries in a context (e.g. screen-width and screen-height in a folder/file/table/.. called window). Some pseudo-code to give an idea: Properties.Settings.Window.Width = 500; Properties.Settings.ErrorMessages.Loading.MissingFile = "File could not be found."; Is there a common practice to do this? JSON? Values should be editable during runtime! Even though an SQL-database is implemented, I do not want to scatter around key-value-tables. Thanks for your time!

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>