I'm about to create 100,000 objects in code. They are small ones, only with 2 or 3 properties. I'll put them in a generic list and when they are, I'll loop them and check value
a and maybe update value
Is it faster/better to create these objects as class or as struct?
a. The properties are value types (except the string i think?)
b. They might (we're not sure yet) have a validate method
I was wondering: are objects on the heap and the stack processed equally by the garbage collector, or does that work different?