C# Programming - MCQ Practice Questions
C# (.NET) MCQs — OOP, collections, LINQ & exception handling.
290 questions | 100% Free
Q.1Medium
In ASP.NET, what is the purpose of the Global.asax file?
Q.2Medium
Which attribute is used to mark a method as an HTTP endpoint in ASP.NET Core?
Q.3Medium
What is the difference between ASP.NET Framework and ASP.NET Core?
Q.4Medium
Which of the following is NOT a built-in state management technique in ASP.NET?
Q.5Medium
What is the role of Middleware in ASP.NET Core?
Q.6Medium
In an ASP.NET Core application, where is Dependency Injection configured?
Q.7Medium
What is the purpose of the [ValidateAntiForgeryToken] attribute in ASP.NET MVC?
Q.8Medium
Which of the following methods is used to pass data from Controller to View in ASP.NET MVC?
Q.9Medium
What is Entity Framework in ASP.NET context?