.NET Programming MCQs with answers Page - 44

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

A

Admin • 833.24K Points
Coach

Q. Which statement is true about interfaces?

  • (A) Interfaces can have fields
  • (B) Interfaces support multiple inheritance
  • (C) Interfaces contain implementation
  • (D) Interfaces can be sealed

A

Admin • 833.24K Points
Coach

Q. Which collection follows FIFO order?

  • (A) Stack
  • (B) Queue
  • (C) List
  • (D) Dictionary

A

Admin • 833.24K Points
Coach

Q. Which collection follows LIFO order?

  • (A) Queue
  • (B) List
  • (C) Stack
  • (D) Hashtable

A

Admin • 833.24K Points
Coach

Q. Which keyword is used to call parent class constructor?

  • (A) parent
  • (B) this
  • (C) base
  • (D) super

A

Admin • 833.24K Points
Coach

Q. Which type of exception is checked at compile time?

  • (A) Runtime exception
  • (B) System exception
  • (C) Checked exception
  • (D) None

A

Admin • 833.24K Points
Coach

Q. What is the default value of an int variable?

  • (A) null
  • (B) 0
  • (C) undefined
  • (D) 1

A

Admin • 833.24K Points
Coach

Q. What is the purpose of the finally block?

  • (A) To handle exceptions
  • (B) To execute code only if exception occurs
  • (C) To execute code regardless of exception
  • (D) To throw exception

A

Admin • 833.24K Points
Coach

Q. Which keyword is used to create a constant?

  • (A) readonly
  • (B) static
  • (C) const
  • (D) fixed

A

Admin • 833.24K Points
Coach

Q. Which method converts string to integer?

  • (A) Convert.ToInt32()
  • (B) ParseInt()
  • (C) ToInteger()
  • (D) StringToInt()

A

Admin • 833.24K Points
Coach

Q. Which .NET feature allows querying collections easily?

  • (A) WCF
  • (B) ADO.NET
  • (C) LINQ
  • (D) CLR

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