Screening .NET candidates starts with the right questions. What separates a candidate who has memorised the platform's vocabulary from one who can reason about it under pressure?
Most question lists answer a different problem. They hand you fifty prompts with no way to score the replies, so two interviewers walk away from the same candidate with opposite verdicts.
That gap costs money now. Express Computer's coverage of a Randstad report found that 44% of Indian employers are hiring fewer junior developers than two years ago, and 53% said communication and stakeholder-management skills are harder to source than coding skills. Fewer junior seats means each interview carries more weight, and the questions have to surface judgement rather than recall.
This guide covers nine basic .NET interview questions across C#, the CLR and core framework concepts. Each comes with a model answer, a difficulty tier, and the follow-up probes and red flags that let you score responses consistently, even if you've never shipped a line of C# yourself.
1. What Is .NET, and How Does It Differ from .NET Framework?
Most candidates answer this with a version history and never mention the runtime. Listen for the split between platform and operating system.
Difficulty tier: Foundation. Ask it in the first five minutes.
Model answer: .NET is Microsoft's open-source application platform. Code is usually written in C# and runs on the .NET runtime, which targets Linux, macOS, Windows, containers and cloud environments. .NET Framework is the older, Windows-only runtime that shipped as part of Windows. A strong answer says plainly that ".NET Framework" means the legacy platform and ".NET" means the current cross-platform one, then grounds it in an example such as an ASP.NET Core API running in a Linux container.
The demand picture explains why the distinction matters commercially. The Quess Q2 FY24 hiring report recorded a 36% increase in demand for developers spanning more than 100 technical proficiencies, with Java and .NET remaining mature, high-demand skills across banking, consulting, technology, telecom and automotive.
Follow-up probes: "Which release is the current LTS, and why does that matter for a new build?" "What would stop you moving a Windows-only service to modern .NET?"
Red flags: describing .NET as a programming language, claiming .NET Framework runs on Linux, or treating ASP.NET and ASP.NET Core as the same product. For deeper platform questions, this .NET architect interview questions guide extends the same evaluation approach to senior roles.
2. What Is C#, and Why Is It Commonly Used with .NET?
A candidate who calls C# "the .NET language" has never met F# or VB.NET. They'll still write working code, but they won't reason about the platform.
Model answer: C# is Microsoft's modern, object-oriented language for building applications on .NET. It supports classes, interfaces, inheritance, generics, properties, delegates, async programming and pattern matching. The compiler turns C# into intermediate code that the runtime executes. C# is the primary language of the platform; it isn't the only supported one.
Difficulty tier: Foundation, with a bonus tier for candidates who can explain the compiler.
The value of this question is that it tests explanation, not syntax. Ask why a compile-time error beats a runtime failure caught by a test suite, and you learn whether the candidate thinks in feedback loops. The Economic Times report on foundit's recruiter survey found 40% of recruiters considered a blend of technical skills, soft skills and academic qualifications when hiring. This question exposes that blend in about ninety seconds.
Scoring note: A candidate who reaches for a concrete example, such as a property that validates input, outscores one who recites the keyword list.
Worked example: Give them a ten-line class with a private field, a public property and a constructor. Ask what happens if the constructor skips validation. Strong candidates trace the defect to object state.
Follow-up probes: "When would you use a record instead of a class?" "What does a property give you that a public field doesn't?"
Red flags: calling C# a framework, no distinction between compile time and runtime, or discomfort with generics at any level.
3. What Is the CLR, and How Does It Execute .NET Code?
Memorisers fall apart here. The Common Language Runtime question has a correct sequence, and candidates either know it or improvise.
Model answer: The CLR is the execution engine for managed code. A build produces Intermediate Language, the CLR compiles that IL with a just-in-time compiler, manages memory through garbage collection, enforces type safety, and supplies exception handling and metadata services. That shared runtime is why C#, F# and VB.NET can interoperate.
The sequence you want to hear
- Source to IL: the language compiler emits Intermediate Language, not machine code.
- IL to machine code: the JIT compiler translates IL at runtime, which is what makes cross-platform execution possible.
- Memory: the garbage collector reclaims objects the application can no longer reach.
- Services: type safety, exception handling and metadata come from the runtime, not from the language.
Difficulty tier: Foundation for the sequence, intermediate for JIT behaviour. For junior roles, stop at conceptual understanding. Don't reward a candidate for quoting garbage collector generation numbers they can't apply.
Follow-up probes: "What's the difference between IL and machine code?" "When does JIT compilation happen for a method that's never called?" "What does the runtime do when an unhandled exception reaches the top of the stack?"
Red flags: saying the CLR is the compiler, describing garbage collection as reference counting, or having no idea that IL exists at all. Each of those points to a candidate who has only used the framework, never debugged it.
4. What Is the .NET Type System, and What Are the Main Types?
Skip the taxonomy and go straight to behaviour. Ask what happens when you assign one variable to another.
Model answer: The .NET type system separates value types from reference types. Value types hold their data directly and include numeric types, Boolean, characters, enumerations and structs. Reference types hold a reference to an object and include classes, interfaces, arrays, delegates and strings. The categories differ in copying, assignment, equality and null behaviour.
Difficulty tier: Foundation. Two minutes is enough for a good answer.
Worked example: Write int a = 5; int b = a; b = 9; and ask what a holds. Then write two variables pointing at the same customer object and ask what the caller sees after a property change. Candidates who answer both correctly will debug production code faster than candidates who only define terms.
Strings trip up more candidates than anything else in this question. A reference type that compares by value is the exception that proves they understand the model rather than the diagram.
Follow-up probes: "Why does null behave differently for an int and a string?" "If a method takes an interface, what can the caller pass in?" "When would a struct be the wrong choice?"
Red flags: claiming strings are value types, asserting that all reference types are garbage collected immediately, or being unable to explain what a copied reference means for change tracking. Beginner accuracy is the bar here. Deep runtime implementation detail is a bonus, not a requirement.
5. How Do Classes, Objects, Interfaces, Inheritance, Properties, Constructors, and Access Modifiers Work in C#?
Five concepts in one question looks unfair until you see what it reveals. Candidates with real modelling experience answer in examples, not definitions.
Model answer: A class is a blueprint; an object is an instance of it. Classes hold fields, properties, methods, constructors and events. An interface defines a contract a class or struct implements, and inheritance lets a derived type reuse and extend a base type. Properties expose data through accessors that can validate, constructors establish initial state, and access modifiers such as public, protected, private and internal control where members can be used.
Difficulty tier: Working level. Expect clean answers from anyone past their first year.
Worked example: Ask them to model a customer with a validated email property and a repository interface. Listen for a constructor that refuses invalid state, a property that validates instead of a bare field, and a service that depends on the interface rather than the class.
The Economic Times reported on an earlier IT hiring survey in which 24% of surveyed employers identified .NET as a leading-demand skill and 22% sought candidates combining multiple niche or complex skills. The survey is dated; its implication isn't. Breadth beats coding speed, so score the modelling decisions, not the vocabulary. Our object-oriented programming interview guide shows how the same domain-modelling probe scales to mid-level roles.
Follow-up probes: "Why not make the field public and skip the property?" "When would you pick an abstract class over an interface?"
Red flags: interfaces used as empty decoration, constructors that leave objects half-built, and no awareness of why a public field limits future change.
6. What Are the Main .NET Collections, and When Should Each Be Used?
This question is a performance question in disguise. Candidates who choose collections by habit rather than by access pattern cost their teams real latency later.
Model answer: The base class library offers List for a resizable sequence, Dictionary for key-based lookup, HashSet for unique elements, Queue for first-in, first-out processing and Stack for last-in, first-out processing. The choice affects performance, readability and memory use.
Difficulty tier: Foundation, moving to working level when they justify the choice.
Worked example: Give three small problems. Deduplicate a list of customer IDs. Look up configuration values by name. Process background jobs in arrival order. Strong candidates reach for HashSet, Dictionary and Queue within seconds, then explain why.
Ask for the reason, not the name. "Dictionary, because I look settings up by key" is the answer that predicts good code.
Follow-up probes: "What happens to lookup cost if you use a list instead of a dictionary?" "When would you need a concurrent collection?" "How do you sort a dictionary by value?"
Red flags: scanning a list with a loop when a key lookup exists, using ArrayList or other non-generic collections without reason, or claiming all collections behave the same at scale. Immutable and concurrent collections are useful extras, not entry requirements.
7. What Is LINQ, and What Are Its Main Advantages?
Candidates who can write a LINQ query but can't explain deferred execution will ship code that runs the same database query four times.
Model answer: Language Integrated Query gives one query syntax across collections and other queryable sources. It supports filtering, projection, ordering, grouping, joining and aggregation, written as query syntax or method syntax with extension methods such as Where, Select and OrderBy. Its advantages are concise transformation code, a single skill that transfers between in-memory collections and databases, and strong typing that catches errors at compile time.
Difficulty tier: Working level.
Worked example: Hand over a list of orders and ask for active customers with their total spend per month. A practitioner writes a filter, a group and a projection in one chain. Then ask when the query runs. That second question is the one that matters.
Skills-based evaluation supports scoring the output rather than the terminology. Nasscom and Indeed's report on India's AI skills inflection point found that 53% of employers have formalised skills-based hiring through structured shortlisting, certification evaluation or practical assessments. A LINQ task is one of the cleanest practical assessments available, because the result either compiles and returns correct data or it doesn't.
Follow-up probes: "What's the difference between IEnumerable and IQueryable?" "What happens if you enumerate the same query twice?" "Why might projecting three columns beat loading whole entities?"
Red flags: no awareness that deferred queries execute on enumeration, string-built predicates that break type safety, or a query that triggers one database round trip per row.
8. What Are Exceptions, and How Should They Be Handled?
Reliability lives in this answer. A candidate who catches everything and returns nothing has told you how their future production incidents will read.
Model answer: Exceptions represent unexpected runtime conditions that interrupt normal flow. In C# they're objects handled with try, catch and finally, or raised with throw. Well-designed applications reserve exceptions for exceptional conditions, preserve the original error information, and translate technical failures into safe responses for callers.
Difficulty tier: Working level.
Worked example: Ask them to read a file and return a controlled response when it's missing. Good answers catch the specific exception, log it with context, release resources in a finally block or with a using statement, and return a clear message. Then ask what the user should see versus what the log should record.
Follow-up probes: "When would you rethrow instead of handling?" "Why is an empty catch block a defect?" "How would exception-handling middleware change the design?"
Red flags: swallowing exceptions, catching Exception as a default habit, exposing stack traces to clients, or using exceptions for ordinary control flow. Ask a follow-up on retries and you'll also learn whether they think about duplicate writes.
9. What Are async and await, and Why Are They Used?
This is the question where a junior candidate's ceiling becomes visible. Anyone can type the keywords; fewer can explain what the thread does while it waits.
Model answer: Asynchronous programming lets an application continue working while it waits for an operation to finish. async marks a method as asynchronous and typically returns Task or Task. await pauses that method without blocking the thread, and the compiler manages the continuation. It's used for web APIs, database access, network calls and other I/O-bound work.
Difficulty tier: Working level, intermediate once you probe cancellation and blocking.
Worked example: Two independent I/O calls, each taking a moment. Sequential awaits take the sum; Task.WhenAll takes the slower of the two. Ask which they'd choose for a dashboard endpoint and why.
Blocking on an asynchronous call with
.Resultor.Wait()is the most reliable way to deadlock a request thread. A candidate who knows that has read production logs.
For teams calibrating seniority, our senior .NET developer interview questions cover async, API security, resilience and production troubleshooting at the next tier up.
Follow-up probes: "When should a method return Task rather than Task?" "What does a CancellationToken protect you from?" "Why doesn't async make a single request faster?"
Red flags: believing async makes code faster per request, async void in application code, or fire-and-forget calls with no error handling.
9 Basic .NET Interview Questions at a Glance
| Question | Topic Area | Difficulty Tier | What It Evaluates | Best Follow-Up Probe |
|---|---|---|---|---|
| What Is .NET, and How Does It Differ from .NET Framework? | .NET platform | Beginner | Understanding of modern cross-platform .NET versus legacy Windows-only .NET Framework | How would you assess the compatibility of a legacy .NET Framework application before porting it? |
| What Is C#, and Why Is It Commonly Used with .NET? | C# language | Beginner | Knowledge of C# features and its relationship to the .NET runtime | How does compile-time checking help prevent runtime errors? |
| What Is the CLR, and How Does It Execute .NET Code? | CLR and code execution | Beginner | Understanding of the path from source code through IL and JIT compilation to execution | What happens between compiling C# code and running the application? |
| What Is the .NET Type System, and What Are the Main Types? | Types and type system | Beginner | Understanding of value types, reference types, and their behavior | What happens when two variables refer to the same class instance and one modifies it? |
| How Do Classes, Objects, Interfaces, Inheritance, Properties, Constructors, and Access Modifiers Work in C#? | Object-oriented programming | Beginner to intermediate | Ability to model types, encapsulate state, define contracts, and control visibility | Model a customer with validated data and explain how an interface could support its repository. |
| What Are the Main .NET Collections, and When Should Each Be Used? | Collections and data structures | Beginner | Ability to select collections based on lookup, uniqueness, indexing, or processing order | Which collection would you use for fast key-based lookup, and why? |
| What Is LINQ, and What Are Its Main Advantages? | LINQ and data querying | Beginner to intermediate | Ability to query and transform data and understand deferred execution | Filter a list and project selected fields; when does the query execute? |
| What Are Exceptions, and How Should They Be Handled? | Exception handling | Beginner | Ability to handle failures safely, preserve diagnostic information, and avoid swallowing errors | How would you handle a missing file while ensuring the user sees a safe message? |
| What Are async and await, and Why Are They Used? | Asynchronous programming | Intermediate | Understanding of non-blocking I/O, tasks, and asynchronous control flow | How would you run two independent I/O operations concurrently while supporting cancellation? |
Turn These Questions Into Consistent, Bias-Reduced Screening
Two interviewers, same candidate, opposite scores. That happens when the questions are shared but the standards aren't. Nine questions only produce a reliable decision when the rubric is written before the first call, the scores are recorded independently, and the debrief compares evidence rather than impressions.
The stakes are visible on the candidate side too. Deloitte India's 2024 campus workforce trends release reports that 93% of surveyed Indian campuses identified technical-interview performance as a key criterion for placement. Students are already being judged on interviews. Employers owe them the same standard applied twice.
Volume makes consistency essential. The UGC annual report for 2023-24 records 1,585,941 UGC-NET candidates appearing across the two 2023 cycles, with 91,026 qualifying. Screening at that scale works because question design, scoring and criteria are fixed in advance and applied identically to every candidate.
There's a useful weighting precedent in the same examination. The UGC-NET information bulletin describes 150 objective questions over 180 minutes, split into a 50-question aptitude paper and a 100-question subject paper, worth 300 marks in total, with each correct answer worth 2 marks. Domain knowledge carries two-thirds of the score. The transferable idea for a hiring team is the split itself: one common section for every applicant, one role-specific section, and a weighting you agree before the first interview.
In practice, that means four steps. Write the model answer and the red flags for each question. Score each probe separately, out of a small fixed scale. Capture the evidence in the interviewer's own words. Review the scores as a panel before anyone discusses gut feel.
Career Central supports that workflow with an AI interview that runs an early, role-centred stage and produces structured insights the hiring team reviews before deciding. The scoring judgement stays with your people, where it belongs.
With Career Central, you can set up a role, run AI interviews and coding assessments against it, and review every candidate's responses alongside structured insights before your team makes the final call. That's the difference between nine good questions and nine questions scored the same way for every applicant. Visit Career Central to see how the workflow fits your hiring process.