.NET Programming MCQs with answers Page - 18

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 CLR in .NET?

  • (A) Common Language Runtime
  • (B) Central Language Repository
  • (C) Compiled Language Runtime
  • (D) Common Logic Runtime

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of the following is a valid .NET data type?

  • (A) number
  • (B) float32
  • (C) int
  • (D) integer

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the purpose of the `using` statement in C#?

  • (A) To include namespaces
  • (B) To close the program
  • (C) To declare a loop
  • (D) To skip execution

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which of these is NOT a .NET language?

  • (A) C#
  • (B) VB.NET
  • (C) F#
  • (D) Python

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does JIT stand for in .NET?

  • (A) Just In Time
  • (B) Java Intermediate Translator
  • (C) Joint Instruction Transfer
  • (D) Job Instruction Table

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which .NET component compiles C# code to Intermediate Language (IL)?

  • (A) CLR
  • (B) CSC (C# Compiler)
  • (C) JIT Compiler
  • (D) MSIL

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which class is the base class of all classes in .NET?

  • (A) System.Object
  • (B) System.Base
  • (C) System.Class
  • (D) System.Root

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the file extension for compiled C# code?

  • (A) .cs
  • (B) .dll
  • (C) .exe
  • (D) .il

R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which .NET feature enables multiple languages to interact seamlessly?

  • (A) Common Execution
  • (B) Common Language Specification (CLS)
  • (C) Language Binding
  • (D) Cross Compilation

R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the default access modifier for class members in C#?

  • (A) public
  • (B) private
  • (C) protected
  • (D) internal