C# Programming - .NET Framework - Discussion
Discussion Forum : .NET Framework - General Questions (Q.No. 3)
3.
Which of the following statements is correct about Managed Code?
Discussion:
20 comments Page 1 of 2.
Jhon said:
10 years ago
@Inam.
Let see there is big difference between Manage Code and Garbage Collector.
Manage code means what. Net provides many programming language and its compiler so after execution DLL was created and it send to the JIT compiler and it again transfer in machine code.
And garbage Collector means if one of the object is not use for long time then it automatically discarded/remove from memory so there is big concept of scope of object.
Let see there is big difference between Manage Code and Garbage Collector.
Manage code means what. Net provides many programming language and its compiler so after execution DLL was created and it send to the JIT compiler and it again transfer in machine code.
And garbage Collector means if one of the object is not use for long time then it automatically discarded/remove from memory so there is big concept of scope of object.
Vijay Kumar Vishwakarma said:
1 decade ago
Managed code is code that has its execution managed by the .NET Framework Common Language Runtime. It refers to a contract of cooperation between natively executing code and the runtime
(which the CLR is the primary commercial implementation) describes how the information is to be encoded, and programming languages that target the runtime emit the correct encoding.
(which the CLR is the primary commercial implementation) describes how the information is to be encoded, and programming languages that target the runtime emit the correct encoding.
Inam said:
1 decade ago
Agreed "Managed code is the code that is written to target the services of the CLR". is right,
But can anybody justify why "Managed code is the code where resources are Garbage Collected. " is wrong.
But can anybody justify why "Managed code is the code where resources are Garbage Collected. " is wrong.
RAHUL said:
9 years ago
A) JIT is used only to transform the IL into machine dependent code (there is nothing like compilation in JIT).
It's the job of respective compilers to transform the code to IL.
It's the job of respective compilers to transform the code to IL.
Siva Vishwakarma said:
10 years ago
All the source code (C#, J#, F# ect.,) will be converted into machine language by MSIL this will be of Managed code then this code will be executed by the CLR and to the target.
Suganthi said:
9 years ago
The CLR (Class Library Runtime). It gives an instruction which things are inbuilt. Is it a converter? There is no connectivity between that.
SHIVA said:
1 decade ago
Managed code which generated all language copilers which are supported by. Net framework. This code is executed by CLR.
Usharani said:
1 decade ago
What is the meaning of "Managed code" is the code that is written to target the services of the "CLR"? Please tell.
Achintya said:
8 years ago
Also its the managed code only where GC can clean the unused code objects, why option b is incorrect?
(1)
Ubedullah Kalhoro said:
1 decade ago
Manage and execute executable code is responsibility of common language Run time.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers