.NET Programming MCQs with answers Page - 30

Here, you will find a collection of MCQ questions on .NET Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the purpose of the .NET Core Runtime?

  • (A) Provide a graphical user interface
  • (B) Convert Java bytecode to MSIL
  • (C) Provide cross-platform execution of .NET applications
  • (D) Compile C code

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which component of .NET compiles MSIL to native code?

  • (A) C# Compiler
  • (B) JIT Compiler
  • (C) Roslyn
  • (D) MSBuild

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does GAC stand for in .NET?

  • (A) Global Application Configuration
  • (B) General Assembly Compiler
  • (C) Global Assembly Cache
  • (D) Group Assembly Controller

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which tool is used to deploy assemblies to the GAC?

  • (A) gacutil.exe
  • (B) msbuild.exe
  • (C) ilasm.exe
  • (D) ngen.exe

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the Common Type System (CTS) in .NET?

  • (A) A standard for naming conventions
  • (B) A set of rules for class design
  • (C) A specification that defines all types supported by the CLR
  • (D) An interface to manage files

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following is NOT true about garbage collection in .NET?

  • (A) It runs in the background automatically
  • (B) It reclaims memory from managed heap
  • (C) It guarantees object destruction timing
  • (D) It uses generations to improve performance

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the purpose of metadata in a .NET assembly?

  • (A) Defines file permissions
  • (B) Stores assembly manifest and type information
  • (C) Provides HTML documentation
  • (D) Encrypts application logic

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following is a key feature of .NET Core?

  • (A) Windows-only support
  • (B) Requires Visual Studio
  • (C) Cross-platform compatibility
  • (D) Does not support command-line tools

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the file extension of a .NET assembly?

  • (A) .dll or .exe
  • (B) .net
  • (C) .asm
  • (D) .sys

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does the CLR use to manage memory automatically?

  • (A) Explicit deallocation
  • (B) Memory table
  • (C) Garbage Collector
  • (D) Memory cache

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ