Resolved What is the best way of storeing custom data values?

stad_nico

New member
Joined
Jul 6, 2020
Messages
3
Programming Experience
Beginner
I am new to c# and I need to store many custom values maybe as an object? I am used to JavaScript, the following code does that what I want in JS, but I dont know how to do the same in c#:

C#:
var exampleObject = {
  "playerScored":true,
  "goalCount": 5,
  "playerInfo": {
        "name": "Manuel Neuer"
        }
  }

So basically what I need is an object or any other data type to store custon values.
 
Last edited by a moderator:

Latest posts

Back
Top Bottom