Tag Archive: CLR

Nov 20

What is garbage collection?

Garbage collection is a CLR feature which automatically manages memory. Programmers forget to release the objects while coding ….. laziness ( Remember in VB6 where one of the good practices is to set object to nothing). CLR automatically releases objects when they are no longer referenced and in use. CLR runs on non-deterministic to see the unused objects …

Continue reading »

Permanent link to this article: http://www.zappmania.in/2012/11/20/what-is-garbage-collection.htm

Nov 06

What is Managed Code?

Managed code runs inside the environment of CLR i.e. .NET runtime. In short all IL are managed code. But if you are using some third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) does not have control over the source code execution of the language.

Permanent link to this article: http://www.zappmania.in/2012/11/06/what-is-a-managed-code.htm

Nov 06

What is CTS?

In order that two language communicate smoothly CLR has CTS (Common Type System).Example in VB you have “Integer” and in C++ you have “long” these datatypes are not compatible so the interfacing between them is very complicated. In order to able that two different languages can communicate Microsoft introduced Common Type System. So “Integer” datatype …

Continue reading »

Permanent link to this article: http://www.zappmania.in/2012/11/06/what-is-a-cts.htm

Nov 06

What is CLR?

Full form of CLR is Common Language Runtime and it forms the heart of the .NET framework. All Languages have runtime and its the responsibility of the runtime to take care of the code execution of the program. For example VC++ has MSCRT40.DLL,VB6 has MSVBVM60.DLL, Java has Java Virtual Machine etc. Similarly .NET has CLR. …

Continue reading »

Permanent link to this article: http://www.zappmania.in/2012/11/06/what-is-a-clr.htm