Question Bank

1899 approved questions from the community

In C#, async methods must always return Task or Task<T>.

MEDIUM
TRUE FALSE
25s
by Mohamed

In C#, the 'new' keyword when used in a method declaration hides the inherited member instead of overriding it.

MEDIUM
TRUE FALSE
25s
by Mohamed

What is the IDisposable interface used for in .NET?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

What is the Large Object Heap (LOH) in .NET?

MEDIUM
SINGLE CHOICE
40s
by Mohamed

In C#, the 'is' keyword can be used both for type checking and pattern matching.

MEDIUM
TRUE FALSE
25s
by Mohamed

Records in C# are immutable by default and provide value-based equality.

MEDIUM
TRUE FALSE
25s
by Mohamed

How are sessions typically managed in ASP.NET Core?

MEDIUM
SINGLE CHOICE
40s
by Mohamed

What is Data Annotations in ASP.NET Core?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

What is a delegate in C#?

MEDIUM
SINGLE CHOICE
40s
by Mohamed

The Task Parallel Library (TPL) in .NET uses the ThreadPool internally to manage tasks.

MEDIUM
TRUE FALSE
25s
by Mohamed

Extension methods must be defined in a static class and must themselves be static methods.

MEDIUM
TRUE FALSE
25s
by Mohamed

Which type of polymorphism is achieved through method overriding in C#?

MEDIUM
SINGLE CHOICE
45s
by Mohamed

What is the primary difference between an abstract class and an interface in C#?

MEDIUM
SINGLE CHOICE
45s
by Mohamed

In the async/await pattern, what happens when the 'await' keyword is encountered?

MEDIUM
SINGLE CHOICE
45s
by Mohamed

Which ASP.NET Core component handles HTTP requests and responses in a pipeline?

MEDIUM
SINGLE CHOICE
40s
by Mohamed

In SQL, what is the 'ACID' property that ensures all operations in a transaction succeed or none at all?

MEDIUM
SINGLE CHOICE
30s
by Mohamed

What is LINQ in C#?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

What is First Normal Form (1NF) in database normalization?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

What is the purpose of the 'async Main' feature in C#?

MEDIUM
SINGLE CHOICE
35s
by Mohamed

What is the purpose of the 'params' keyword in C#?

MEDIUM
SINGLE CHOICE
30s
by Mohamed
PreviousPage 88 of 95Next