Under “effective,” they probably talk about the amount of memory that is required to represent a class or structure.
On a 32-bit platform, a minimum of 16 bytes is required to allocate an object. On a 64-bit platform, the minimum size of an object is 24 bytes. So, if you look at it exclusively from the amount of memory used, a structure containing less than 16 bytes of data will be "better" than the corresponding class.
But the amount of memory used is not the whole story. Types of values (structure) are fundamentally different from reference types (classes). Structures can be inconvenient to work with and can actually cause performance problems if you are not careful.
The real answer, of course, is to use what works best in your situation. In most cases, you will be much better off using classes.
Jim mischel
source share