h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

Structure vs Class

Structure Class
Value type and are stored on stack. Reference type and are stored on heap.
“do not support” inheritance. supports inheritance.
used when you want to use a small data structure. better choice for complex data structure.

No comments:

Post a Comment