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)
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)
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)
Umesh said:
1 decade ago
What is native code?
HussainBasha said:
1 decade ago
1. Cross-language integration, especially cross-language inheritance.
2. Garbage collection, which manages object lifetime so that reference counting is unnecessary.
3. Garbage collection.
2. Garbage collection, which manages object lifetime so that reference counting is unnecessary.
3. Garbage collection.
Gaurav said:
1 decade ago
Native code is code that's generated after IL code, its depended to environment e.g winxp, win7 32bit, 64 bit.
Rahul said:
1 decade ago
Native code is machine language code.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers