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?
  1. It provides a language-neutral development & execution environment.
  2. It ensures that an application would not be able to access memory that it is not authorized to access.
  3. It provides services to run "managed" applications.
  4. The resources are garbage collected.
  5. It provides services to run "unmanaged" applications.
Only 1 and 2
Only 1, 2 and 4
1, 2, 3, 4
Only 4 and 5
Only 3 and 4
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
50 comments Page 2 of 5.

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.

Veyronash said:   1 decade ago
Managed applications are those that contains managed code that are directly executed by CLR and these codes have CLR services like type checking, safety and automatic garbage collection.

Nicholas Mahbouby said:   1 decade ago
Managed objects of reference type are garbage collected. Resources (e.g File or database connection) are not. That is why classes that wrap them should implement ID is possible.

Dev said:   1 decade ago
CLR is convert MSIL [{Microoft intermediate Language (Assemblies)] means ASCII code not a m/c code}], Code into M/c code directly and will not produce produce M/c Code file.

Milu said:   1 decade ago
The code which is runs under the .Net framework that is managed code & it provides security, reusability, portability and automatic memory management that's it.

Abhishek said:   1 decade ago
I think option 2 is some what not reletive as how come it will restrict the memory occupancy of other object. (Might be type safety thing would be there).

Praveen Saini said:   1 decade ago
This option is absolutly right bcoz CLR is the only one who is responsible to run the managed code and denied to run the unmanaged/Non-cls complient code.

Rahul said:   1 decade ago
CLR only provide compile & execute the program so option number c right because Operation 1 to 4 every action perform by .Net CLR Compiler.

Ann said:   1 decade ago
Its the work of the dispose () method to free the resources that are not in use. The dispose method is present in the garbage collector.

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.


Post your comments here:

Your comments will be displayed after verification.