INTRODUCTION TO NET
BASICS OF NET FRAMEWORK
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
i-True, ii-False, iii-False
|
|
i-False, ii-True, iii-False
|
|
i-True, ii-False, iii-True
|
|
i-False, ii-False, iii-True
|
Detailed explanation-1: -Managed code is the code that is compiled by the JIT compilers. Managed code is the code where resources are Garbage Collected. Managed code is the code that runs on top of Windows. Managed code is the code that is written to target the services of the CLR.
Detailed explanation-2: -Managed code is the code where resources are Garbage Collected. All the above statements are true.
Detailed explanation-3: -Difference between managed and unmanaged code? Managed code is the one that is executed by the CLR of the . NET framework while unmanaged or unsafe code is executed by the operating system.
Detailed explanation-4: -Common Type System (CTS) describes the datatypes that can be used by managed code. CTS defines how these types are declared, used and managed in the runtime. It facilitates cross-language integration, type safety, and high-performance code execution.
Detailed explanation-5: -Title: 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.
Detailed explanation-6: -Managed C++ and Common Language Runtime (CLR) are not supported. Compilations with switches beginning with “/CLR” will be skipped. This is a product limitation, and the source file with /clr option will be ignored.