Questions

1. Difference between .NET Framework, .NET Core & .NET 6/7

2. What is CLR, CTS, CLS?

3. Value Type vs Reference Type

Value TypeReference Type
Stack memoryHeap memory
Copied by valueCopied by reference

4. Boxing & Unboxing

5. Garbage Collection & Generations

6. Sealed, Static, Abstract Class vs Interface

FeatureAbstractInterface
Can have implementationYes.NET 8 also supports default
Multiple inheritNoYes

7. Async / Await & Task vs Thread

8. LINQ

Examples

9. Delegates, Events, Func, Action

ASP.NET MVC / .NET Core

1. MVC Lifecycle

2. Filters

3. Dependency Injection

4. Middleware pipeline

UseRunMap

5. ViewBag vs ViewData vs TempData

FeatureViewBagViewDataTempData
TypeDynamicDictionaryDictionary
LifeCurrent requestCurrent reqNext request (Redirect)

6. REST API Concepts

Entity Framework Core

1. Code-First vs Database-First

2. Lazy vs Eager Loading

3. LINQ Joins

SQL & DB Design

1. Normalization

2. Index Types

3. Stored Procedure vs Function

4. Joins

Real-Time Architecture & Security

1. SOLID Principles

2. Repository Pattern

3. OAuth / JWT

4. Microservices Basics

Common Coding Questions

TopicExample
String reverseWithout Reverse()
Second highest numberLINQ
PalindromeString & number
Remove duplicatesHashSet / LINQ
Prime numberEfficient loop logic