KEMBAR78
Interview Topic | PDF | C Sharp (Programming Language) | Language Integrated Query
0% found this document useful (0 votes)
7 views4 pages

Interview Topic

C# interview topics

Uploaded by

yaswanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Interview Topic

C# interview topics

Uploaded by

yaswanth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

1.

C# Fundamentals (Must Know Deeply)


● Data Types, Value types vs Reference types

● Memory Management (Stack vs Heap, Garbage Collection)

● OOP Concepts (Inheritance, Polymorphism, Abstraction, Encapsulation)

● Interfaces vs Abstract Classes

● Static vs Instance members

● ref, out, in keywords

● Struct vs Class

● Records (C# 9+)

● Exception Handling & Custom Exceptions

🔹 2. Advanced C#
● Delegates, Func, Action, Predicate

● Events & Event Handling

● Lambda Expressions

● Extension Methods

● LINQ (select, where, join, group, aggregate, Any/All, First/Single/Default)

● Asynchronous Programming (async, await, Task, ValueTask)

● Parallelism (Parallel.For, PLINQ)

● IEnumerable vs IQueryable

● IDisposable & using keyword (Dispose pattern)

● Nullable Reference Types (C# 8+)

🔹 3. .NET Core / ASP.NET Core


● Middleware pipeline (how requests flow)

● Dependency Injection (built-in DI container, lifetimes: Singleton, Scoped, Transient)

● REST API development (Controllers, Routing, Attributes)

● Model Binding & Validation

● Filters (Action, Exception, Authorization)

● Configuration & Options pattern

● Logging (ILogger, Serilog, NLog basics)

● Authentication & Authorization (JWT, Identity basics)

● Versioning in APIs

🔹 4. Entity Framework Core (ORM)


● DbContext & DbSet

● Migrations (Add, Update, Rollback)

● LINQ-to-Entities queries

● Eager vs Lazy vs Explicit Loading

● Change Tracking

● Transactions & SaveChanges()

● Performance tips (NoTracking, compiled queries)

🔹 5. Database (SQL Server / RDBMS Basics)


● Joins (Inner, Left, Right, Cross)

● Group By & Having

● Indexes (Clustered vs Non-Clustered)

● Stored Procedures, Views, Functions

● Triggers & Transactions


● Normalization basics

● Query Optimization (execution plans, indexing strategies)

🔹 6. Design Principles & Patterns


● SOLID Principles (important for mid-level interviews)

● Repository & Unit of Work patterns

● Factory, Singleton, Strategy, Observer patterns (at least theory + simple examples)

● Clean Architecture / Onion Architecture basics

🔹 7. Testing
● Unit Testing with xUnit/NUnit/MSTest

● Mocking (Moq)

● Integration testing in .NET Core APIs

🔹 8. Common Interview Questions


● Difference between .NET Framework and .NET Core

● IEnumerable vs IQueryable vs ICollection

● Boxing vs Unboxing

● Task vs Thread vs ValueTask

● ConfigureAwait(false) usage

● Difference between AddTransient, AddScoped, AddSingleton

● IDisposable and Garbage Collection

● Optimizing EF Core queries

● API security basics (JWT, API keys, OAuth)


🔹 9. Extra (Good to Know)
● Git basics (branch, merge, rebase, pull request)

● Docker basics (for modern .NET interviews)

● CI/CD overview (Azure DevOps, GitHub Actions)

● Cloud basics (Azure App Service, Azure Functions)

You might also like