When you create an instance of a class with the new operator, memory gets allocated on the heap. When you create an instance of a struct with the new operator where does the memory get allocated, on the heap or on the stack ?
Ccna final exam - java, php, javascript, ios, cshap all in one. This is a collaboratively edited question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Showing posts with label struct. Show all posts
Showing posts with label struct. Show all posts
Monday, June 4, 2012
Structure Vs Class in C#
Tags
.net,
c#,
class,
memory-management,
struct,
Tips For Programmer
Subscribe to:
Posts (Atom)