9 .NET Interview Questions Indian Freshers Get Wrong
9 .NET interview questions Indian freshers get wrong, with answers on CLR, async/await, LINQ and MVC plus salary data and prep tips for 2026.

9 .NET Interview Questions Indian Freshers Get Wrong
A .NET fresher in India earns roughly ₹1 to ₹5.5 lakhs per year at the junior level, with the average .NET developer salary around ₹6 lakhs — about ₹26,000 a month — per AmbitionBox salary data and Indeed India. Thousands of engineering graduates compete for those roles every campus season, and most get filtered out in the technical round. After working through the question banks freshers actually study — including GeeksforGeeks' ASP.NET list and Microsoft's fresher prep guide — these are the nine questions that separate shortlists from rejections.
1. What is the CLR and why does it matter?
Freshers recite "Common Language Runtime" and stop. The interviewer is testing whether you understand what happens to your code. Say this: the CLR compiles your C# to Intermediate Language, then JIT-compiles it to machine code at runtime — and along the way it handles garbage collection, type safety, and exception handling. That last clause is what earns the follow-up nod.
2. Value types vs reference types
Almost everyone says "value types store data, reference types store addresses." Half-right. The answer that gets marks: a struct lives on the stack and copies on assignment; a class lives on the heap and assignments copy the reference, so two variables can point to one object. Give the classic example — changing a property through one reference is visible through the other. One concrete example beats three definitions.
3. Interface vs abstract class — when do you use each?
This appears in nearly every Indian .NET interview. The safe textbook answer: an interface is a pure contract with no implementation; an abstract class can carry shared code and fields, but a class can implement multiple interfaces while inheriting only one base class. Then add the judgement call interviewers want: use an interface for capability (ICloneable), an abstract class for family identity (a base Payment class with shared fields). The judgement call is what "prepared" sounds like.
4. string vs StringBuilder
Say "strings are immutable" and you'll be asked why that matters. Each string modification creates a new heap object; concatenating in a loop creates thousands. StringBuilder mutates one buffer. The interview version: "For a loop, StringBuilder; for one or two joins, string — and the compiler optimises simple concatenations anyway." Showing trade-off thinking is worth more than the rule.
5. async/await — what actually happens?
Freshers memorise the keywords and freeze when asked what await does. Keep it simple: await suspends the method without blocking the thread, returning control to the caller until the task completes. Then mention the real-world reason Indian product companies care — API responsiveness under load. Never say "it makes code run faster." It doesn't; it makes it scale. That correction is a senior-sounding move.
6. The ASP.NET Core request pipeline
Middleware trips people because it's abstract. The answer: each HTTP request flows through an ordered chain of middleware — logging, authentication, routing, your controller — and each piece can act before and after the next. Name three built-ins (UseRouting, UseAuthentication, UseAuthorization) and you've answered the question the way it was asked. Ordering matters; say so unprompted.
7. ViewBag vs ViewData vs TempData
The classic three-way compare. ViewBag is dynamic, ViewData is a dictionary, both die at the end of the request. TempData survives one redirect — that's its entire purpose. The fresher mistake is mixing them up under pressure, so anchor with the redirect fact: "TempData for PRG patterns, the others for controller-to-view only."
8. IEnumerable vs IQueryable in LINQ
This one filters mid-level candidates out. IEnumerable filters in memory after loading data; IQueryable translates your filter into SQL so the database does the work. The example that lands: filtering a million-row table with IEnumerable pulls all rows into your app; with IQueryable, only matching rows cross the network. In Indian service-company interviews, this maps directly to "why is this report slow" — use that framing.
9. ASP.NET MVC vs Web API
The question behind it: do you know when a controller returns HTML versus data? MVC serves views for web apps; Web API returns JSON or XML for mobile apps and SPAs. Most Indian enterprise stacks use both — MVC for admin screens, APIs for the mobile layer. Say that sentence and you've shown system context, which is the whole point.
How to actually prepare
- Pick one question bank — don't study five superficially
- Write each answer as three sentences: definition, example, trade-off
- Build one small CRUD API and deploy it — every answer above gets easier with a project
- Practice out loud: PrepFox mock interviews run you through technical rounds with AI feedback before the real panel
For the wider question pool, our complete list of job interview questions by role covers HR and behavioural rounds too, and a clean ATS-friendly resume gets you into the room in the first place. Pick your nine, rehearse the trade-offs, and the technical round stops being a memory test.
Ready to put this into practice?
Practice mock interviews, build your resume, and get expert feedback — all on PrepFox.
More from PrepFox Blog
How to Crack Aptitude Interview Questions in Placements
How to crack aptitude interview questions in Indian placements: quant, reasoning and verbal sections, an 8-week plan, and test-day strategy.
9 Questions to Ask the Interviewer That Impress HR
Interview questions to ask the interviewer: 9 smart questions that impress Indian HR, what each one signals, and what never to ask in round one.
How to Answer Civil Interview Questions as a Fresher
How to answer civil interview questions as a fresher in India: slump test, foundations, cement tests and salary data for site engineer offers.
