.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.

22 Easy C# .NET

What are properties in C#?

Short take Full answer on next page

Simple meaning

Properties expose get and set accessors like fields but with control.

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

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

What does the params keyword do?

Short take Full answer on next page

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
25 Easy C# .NET

What is an enum in C# used for?

Short take Full answer on next page

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
29 Easy ASP.NET .NET

What is appsettings.Development.json for?

Short take Full answer on next page

Simple meaning

It overrides base appsettings for the Development environment.

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

Read full answer Example · Mistake · Say this
30 Easy ASP.NET .NET

What does UseHttpsRedirection do?

Short take Full answer on next page

Simple meaning

It redirects HTTP requests to HTTPS.

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

Read full answer Example · Mistake · Say this
34 Easy ASP.NET .NET

What is launchSettings.json?

Short take Full answer on next page

Simple meaning

It holds local launch profiles, URLs, and env vars for Visual Studio and dotnet run.

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

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

What is a record struct?

Short take Full answer on next page

Simple meaning

A value-type record with value equality semantics.

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

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

What is boxing and unboxing in C#?

Short take Full answer on next page

Simple meaning

Boxing wraps a value type in an object on the heap

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

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