C# Programming - .NET Framework

Why C# Programming .NET Framework?

In this section you can learn and practice C# Programming Questions based on ".NET Framework" and improve your skills in order to face the interview, competitive examination and various entrance test (CAT, GATE, GRE, MAT, Bank Exam, Railway Exam etc.) with full confidence.

Where can I get C# Programming .NET Framework questions and answers with explanation?

IndiaBIX provides you lots of fully solved C# Programming (.NET Framework) questions and answers with Explanation. Solved examples with detailed answer description, explanation are given and it would be easy to understand. All students, freshers can download C# Programming .NET Framework quiz questions with answers as PDF files and eBooks.

Where can I get C# Programming .NET Framework Interview Questions and Answers (objective type, multiple choice)?

Here you can find objective type C# Programming .NET Framework questions and answers for interview and entrance examination. Multiple choice and true or false type questions are also provided.

How to solve C# Programming .NET Framework problems?

You can easily solve all kind of C# Programming questions based on .NET Framework by practicing the objective type exercises given below, also get shortcut methods to solve C# Programming .NET Framework problems.

Exercise :: .NET Framework - General Questions

  • .NET Framework - General Questions
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.

A. Only 1 and 2
B. Only 1, 2 and 4
C. 1, 2, 3, 4
D. Only 4 and 5
E. Only 3 and 4

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

2. 

Which of the following are valid .NET CLR JIT performance counters?

  1. Total memory used for JIT compilation
  2. Average memory used for JIT compilation
  3. Number of methods that failed to compile with the standard JIT
  4. Percentage of processor time spent performing JIT compilation
  5. Percentage of memory currently dedicated for JIT compilation

A. 1, 5
B. 3, 4
C. 1, 2
D. 4, 5

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

3. 

Which of the following statements is correct about Managed Code?

A. Managed code is the code that is compiled by the JIT compilers.
B. Managed code is the code where resources are Garbage Collected.
C. Managed code is the code that runs on top of Windows.
D. Managed code is the code that is written to target the services of the CLR.
E. Managed code is the code that can run on top of Linux.

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

4. 

Which of the following utilities can be used to compile managed assemblies into processor-specific native code?

A. gacutil
B. ngen
C. sn
D. dumpbin
E. ildasm

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

5. 

Which of the following are NOT true about .NET Framework?

  1. It provides a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely.
  2. It provides a code-execution environment that minimizes software deployment and versioning conflicts.
  3. It provides a code-execution environment that promotes safe execution of code, including code created by an unknown or semi-trusted third party.
  4. It provides different programming models for Windows-based applications and Web-based applications.
  5. It provides an event driven programming model for building Windows Device Drivers.

A. 1, 2
B. 2, 4
C. 4, 5
D. 1, 2, 4

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.