Question Bank
1899 approved questions from the community
In C#, async methods must always return Task or Task<T>.
In C#, the 'new' keyword when used in a method declaration hides the inherited member instead of overriding it.
What is the IDisposable interface used for in .NET?
What is the Large Object Heap (LOH) in .NET?
In C#, the 'is' keyword can be used both for type checking and pattern matching.
Records in C# are immutable by default and provide value-based equality.
How are sessions typically managed in ASP.NET Core?
What is Data Annotations in ASP.NET Core?
What is a delegate in C#?
The Task Parallel Library (TPL) in .NET uses the ThreadPool internally to manage tasks.
Extension methods must be defined in a static class and must themselves be static methods.
Which type of polymorphism is achieved through method overriding in C#?
What is the primary difference between an abstract class and an interface in C#?
In the async/await pattern, what happens when the 'await' keyword is encountered?
Which ASP.NET Core component handles HTTP requests and responses in a pipeline?
In SQL, what is the 'ACID' property that ensures all operations in a transaction succeed or none at all?
What is LINQ in C#?
What is First Normal Form (1NF) in database normalization?
What is the purpose of the 'async Main' feature in C#?
What is the purpose of the 'params' keyword in C#?