Home > MCQs > IT & Programming > .NET Framework MCQs

.NET Framework MCQ

.NET Framework Quick Quiz

Question 1 of 10
  • Which is a set of features that extends the query capabilities of the .NET language syntax by adding sets of new standard query operators that allow data manipulation, regardless of the data source?

    Answer & Explanation

    Correct Answer: LINQ

    Note: This Question is unanswered, help us to find answer for this one

  • The ASP.NET Core Module is a native IIS module that plugs into the IIS pipeline to either _.

    Answer & Explanation

    Correct Answer: Host an ASP.NET Code app inside of the IIS workes process, called the in-process hosting model, or forward web requests to a backend ASP.NET Core app running the Kestrel server, called the out-of-process hosting model

    Note: This Question is unanswered, help us to find answer for this one

  • What is an interface in .NET?

    Answer & Explanation

    Correct Answer: An interface declares a contract or behavior that implementing classes require. It may declare only properties, methods, and events with no access modifiers. All the declared members must be implemented.

    Note: This Question is unanswered, help us to find answer for this one

  • How can you recieve form data without a model binder in a controller action? Note: The differences are IFormResult/IActionResult and Forms/Form

    Answer & Explanation

    Correct Answer: Public IActionResult ReceivedDataByRequest() { string theName = Request.Form[

    Note: This Question is unanswered, help us to find answer for this one

  • When break is used inside two nested for loops, does control come out of the inner for loop or the outer for loop?

    Answer & Explanation

    Correct Answer: It breaks from only the inner loop.

    Note: This Question is unanswered, help us to find answer for this one

  • What is the namespace for caching information in .NET?

    Answer & Explanation

    Correct Answer: System.Runtime.Caching;

    Note: This Question is unanswered, help us to find answer for this one

  • You want to create an instance of several families of classes. Which design pattern best fits this objective?

    Answer & Explanation

    Correct Answer: Abstract Factory

    Note: This Question is unanswered, help us to find answer for this one

  • When would you use asynchronous actions?

    Answer & Explanation

    Correct Answer: To avoid blocking the request thread while waits for an I/O operation

    Note: This Question is unanswered, help us to find answer for this one

  • When should you use the .NET Core class library project type?

    Answer & Explanation

    Correct Answer: When you want to increase the .NET API surface area your library can access, and allow only .NET Core apps to be compatible with your library

    Note: This Question is unanswered, help us to find answer for this one

  • What is the single responsibility principle?

    Answer & Explanation

    Correct Answer: A class should have only a single responsibility - that is, only changes to one part of the software's specification should be able to affect the specification of the class.

    Note: This Question is unanswered, help us to find answer for this one

  • .NET Framework Quick Quiz

    battery

    Poor Results!

    You need a lot of improvement.

    Just don't give up!

    Correct Answers: 0/10

    Start Practicing with our MCQs given below.