KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Possible Duplicate: Which is best for data store Struct/Classes? Consider the example where I have an Employee object with attributes like age, name, gender, title, salary. I now have a list i want to populate with a bunch of Employees (each Employee instance is unique). In terms of just speed and memory footprint, is it more preferable to create the employee as a Struct or a Class? Any additional caveats regarding Struct vs Class in the above scenario are welcome
Tags (comma-separated)
Save Edits
Cancel