C# Programming - .NET Framework - Discussion
Discussion Forum : .NET Framework - General Questions (Q.No. 1)
1.
Which of the following statements are TRUE about the .NET CLR?
- It provides a language-neutral development & execution environment.
- It ensures that an application would not be able to access memory that it is not authorized to access.
- It provides services to run "managed" applications.
- The resources are garbage collected.
- It provides services to run "unmanaged" applications.
Discussion:
50 comments Page 1 of 5.
Krishan chandra gupta said:
8 years ago
CLR converting Managed code[VB, C#, J#] to native code which is system understandable.
C#-------> [compiler ]--------->IL code----------->[JIT]----------> Native code.
CLR is checking the code is managed code or not,
CLR provide type safety.
It is ensured that an application would not access the memory that is not Authorised to access.
C#-------> [compiler ]--------->IL code----------->[JIT]----------> Native code.
CLR is checking the code is managed code or not,
CLR provide type safety.
It is ensured that an application would not access the memory that is not Authorised to access.
(4)
Ravindra Reddy M said:
9 years ago
That is Correct Answer, CLR Provides Managed Code.
(2)
Anand Sami said:
9 years ago
CLR provide the managed code.
(1)
Mazid said:
9 years ago
What do you mean by language neutral development?
(1)
GardenExit said:
9 years ago
Native code is not a machine code.
.Net languages all converge to IL (intermediate Language) and executed by the runtime, the runtime runs Win32.dll,kernel.dll, ui.dll, etc... which are all COM objects written in C++ in the form of Components and Containers objects (which exist in their C# form also in managed code).
COM Objects are unmanaged code.
But where the answer is wrong, it should be 1,2,3,4 and 5 is you can run unmanaged code from C# compilers, using the unmanaged keyword and using System.
Interop wrappers around the unmanaged code to marshal, say, marshalling method calls and parameter passing into functions in the IDispatch interface of a COM object.
.Net languages all converge to IL (intermediate Language) and executed by the runtime, the runtime runs Win32.dll,kernel.dll, ui.dll, etc... which are all COM objects written in C++ in the form of Components and Containers objects (which exist in their C# form also in managed code).
COM Objects are unmanaged code.
But where the answer is wrong, it should be 1,2,3,4 and 5 is you can run unmanaged code from C# compilers, using the unmanaged keyword and using System.
Interop wrappers around the unmanaged code to marshal, say, marshalling method calls and parameter passing into functions in the IDispatch interface of a COM object.
(2)
Arfab said:
10 years ago
Network is started CLR provides the following:
1. Modern memory management- the resources are automatically garbage collected.
2. Ability to use mixed languages.
3. Better security.
4. Clean way for software components to interact.
Managed code is executable under CLR.
1. Modern memory management- the resources are automatically garbage collected.
2. Ability to use mixed languages.
3. Better security.
4. Clean way for software components to interact.
Managed code is executable under CLR.
(2)
Ram said:
10 years ago
What is CLS?
Kaushal said:
10 years ago
CLR is Common Language Runtime: The virtual machine component of Microsoft's .NET framework, manages the execution of .NET programs.
A process known as just-in-time compilation converts compiled code into machine instructions which the computer's CPU then executes.
A process known as just-in-time compilation converts compiled code into machine instructions which the computer's CPU then executes.
Ritesh Kumar said:
10 years ago
Difference between Int, Int16, Int32 and Int64?
VENKATESH said:
1 decade ago
CLR is an execution environment and it provides to access some memory.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers