Performance Issue on String Comparison
As you might be aware that an application performance can be enhanced by efficient coding. I am not sure that how many of us are really aware off, that a good string comparison will really increase the performance. Hence, this article focus on "Performance...
An Enum is a structure extending ValueType and not a Class. It not explicitly created on the heap memory.
Instead, it is a field within a Class and exist temporarily on the stack as a local variable. The cost of an Enum is typically 4 bytes. This is due to 32-bit word alignment.