.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
61 Moderate Collections .NET

What is ConcurrentDictionary good for?

Short take

Simple meaning

Thread-safe dictionary operations without a coarse lock for every access.

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

Read full answer Example · Mistake · Say this
62 Moderate LINQ .NET

What is AsQueryable used for?

Short take

Simple meaning

It treats an in-memory sequence as IQueryable so expression trees can be composed.

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

Read full answer Example · Mistake · Say this
69 Moderate Security .NET

How do you rotate Data Protection keys?

Short take

Simple meaning

I store the key ring in a shared location and let new keys activate while old ones decrypt existing cookies.

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

Read full answer Example · Mistake · Say this
71 Moderate Testing .NET

How do you test time-dependent code?

Short take

Simple meaning

I inject an abstraction for UtcNow instead of DateTime.UtcNow directly.

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

Read full answer Example · Mistake · Say this
73 Moderate Logging .NET

What is log scoping in MEL?

Short take

Simple meaning

BeginScope attaches properties to subsequent log calls in that block.

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

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

What is interception in EF Core used for?

Short take

Simple meaning

SaveChanges and command interceptors add auditing, multi-tenant filters, or soft-delete stamps.

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

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