Thursday, June 6, 2013

Memory Management in .Net

Memory Management is the concept by which memory is allocated and de-allocated to the variables and objects which we use in our normal day to day programming. .Net helps us to ease memory management by automatically allocating and de-allocating memory to the variables and objects.

The runtime takes care of allocating Memory, when we declare a variable or create an instance of an object the runtime automatically allocates memory to the variable or object, similarly when the object or variable goes out of scope the runtime takes care of clearing the memory used using a mechanism called Garbage Collection.

Memory for the variables and objects are allocated in Stack and Heap, we shall see on how this is done in detail in the following posts.

Search Flipkart Products:
Flipkart.com

1 comment:

Unknown said...

I have a great fun reading your blogs. You are really a great writer. Thank you for making this beautiful and awesome blogs. Hope to read more post from you in the future. Please dont forget to visit me in my site @ www.imarksweb.org. Thank you.


Bess
www.imarksweb.org