As we know Garbage Collector in .Net is in deterministic which means that we can never be sure when the garbage collector be invoked (of course, unless and until we explicitly invoke it) . Now there might be scenarios in which we need to release certain resources held by an object (like a database connection) once the object is no longer in use. We have destructors in...

I believe in simplifying this as far as possible. If there are n ways of performing something, then the best one is the simplest of all. So what is the definition of something being simple? Well, the one which requires least number of other things to be understood to understand it can be called the simplest one. The one which has the least number of parameters could be...

In the initial days when I started writing assembly programs on my own I used to get confused as to when to use ADDR and when to use OFFSET in the program. This article is an attempt to clear the doubts of assembly programmers regarding the meaning and usage of ADDR and OFFSET. First and foremost, the purpose of using either ADDR or OFFSET is to get the memory address...