.NET track

.NET and C# interview questions

Panel-ready .NET / C# questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

215 Qs
43 Moderate OOP .NET

What is an interface in C#?

Short take

Simple meaning

An interface defines a contract of members a type must implement.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
44 Easy C# .NET

What does the params keyword do?

Short take

Simple meaning

It lets a method accept a variable number of arguments as an array.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
46 Easy C# .NET

What is an enum in C# used for?

Short take

Simple meaning

Enums give named integer constants for a closed set of values.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
47 Moderate ASP.NET .NET

What is middleware in ASP.NET Core?

Short take

Simple meaning

Middleware forms a pipeline that handles each HTTP request: logging, auth, routing, endpoints.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
49 High EF Core .NET

What is Entity Framework Core?

Short take

Simple meaning

EF Core is an ORM that maps C# classes to tables and generates SQL.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
56 Moderate C# .NET

What are file-scoped namespaces?

Short take

Simple meaning

They wrap the whole file in a namespace without nested braces.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
58 Moderate C# .NET

How do required members work?

Short take

Simple meaning

required forces object initializers or constructors to set those properties.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
59 Moderate C# .NET

What is Interlocked used for?

Short take

Simple meaning

It provides atomic increments and compare-exchange without a full lock.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 3 of 11 Next
Chat with us