I have a C# class to store my User details and another for storing JOBS details.The scenario is like each User can have multiple JOBS. I have UserId,UserName,Age etc as my User class properties. Now i want to associate the of JOBS class objects to a property called JOBS so that i can store multiple jobs associated with this user to that as a List.
How to write the Property in my USerClass ? .How should be the set and get ?
I have a C# class to store my User details and another for storing
Share
try something like this.