How do I know when I should use a class over a struct, or vice versa?
If you need methods, use a class. If it’s only data, you can use a struct.
1 Like
Here’s a good article that presents some insights into the differences between structs and classes, and when the use case would suggest a struct instead of a class.
1 Like
Thanks Michael, I’ll keep that in mind!
Thanks Brian!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.