All blog articles by Sagar Pathak
C405b2ee053afe11c0b3fc4cbcb8ab97
Sagar Pathak

As we all know "Every program needs a memory and unfortunately which is finite in terms of its availability".....:)

Software must cope with memory usage, and there are two ways to manage it.

  • Manually
  • Automatically

Manual management are more prone to errors especially with exceptions and in asynchronous code. This is why modern managed environments (.NET, Java, Erlang, and many more) implement automatic memory management with garbage collection.

Lets see what is Garbage Collection in C#...

Read complete blog post