object

  1. D

    Question persist object data in C# .net core without static keyword or session

    I am trying to make a object that would suppose to persist data like Name, Standard etc. Once I get the data from db i want to store it to object and want to use it application wide, i tried with DI, but data is not persist, it becomes null.
  2. stad_nico

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

    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#: var exampleObject = { "playerScored":true, "goalCount": 5, "playerInfo": { "name": "Manuel...
Top Bottom