Associate
- Joined
- 31 Dec 2002
- Posts
- 458
Hi,
I have just started to dive into learning OOP with C#. Getting to grips with creating Classes, Constructors, Properties and Methods etc.
However I could do with a nudge conceptually. Say you had an application using employee objects how would you keep track of multiple employees. Also how would you retrieve specific instances of an employee and make changes? would you save the state of an object to a database? and then retrieve it from there? or would you also use collections such as an arraylist?
Say the user creates a user account and enters their details how would the application instantiate an Employee object dynamically? without explicitly declaring it in the application?
Sorry for all the questions but OOP is a bit of a leap!!!!
Cheers.
I have just started to dive into learning OOP with C#. Getting to grips with creating Classes, Constructors, Properties and Methods etc.
However I could do with a nudge conceptually. Say you had an application using employee objects how would you keep track of multiple employees. Also how would you retrieve specific instances of an employee and make changes? would you save the state of an object to a database? and then retrieve it from there? or would you also use collections such as an arraylist?
Say the user creates a user account and enters their details how would the application instantiate an Employee object dynamically? without explicitly declaring it in the application?
Sorry for all the questions but OOP is a bit of a leap!!!!
Cheers.