Q1.
What is .NET Framework and how does it differ from .NET Core?
Difficulty: easy
Q2.
What is CLR (Common Language Runtime)?
Difficulty: easy
Q3.
What is CTS (Common Type System)?
Difficulty: easy
Q4.
What is CLS (Common Language Specification)?
Difficulty: easy
Q5.
What are value types and reference types in C#?
Difficulty: easy
Q6.
What is boxing and unboxing in C#?
Difficulty: medium
Q7.
Explain the difference between abstract class and interface.
Difficulty: medium
Q8.
What is method overloading and method overriding?
Difficulty: easy
Q9.
What are access modifiers in C#?
Difficulty: easy
Q10.
What is encapsulation in C#?
Difficulty: easy
Q11.
What is inheritance and its benefits?
Difficulty: easy
Q12.
What is polymorphism in C#?
Difficulty: easy
Q13.
What is a constructor and what are its types?
Difficulty: easy
Q14.
What is a static class in C#?
Difficulty: easy
Q15.
What is the difference between String and StringBuilder?
Difficulty: medium
Q16.
What is exception handling in C#?
Difficulty: easy
Q17.
Explain try, catch, finally, and throw keywords.
Difficulty: easy
Q18.
What is garbage collection in .NET?
Difficulty: medium
Q19.
What are delegates in C#?
Difficulty: medium
Q20.
What are events in C#?
Difficulty: medium
Q21.
What is LINQ and why is it used?
Difficulty: medium
Q22.
What is the difference between IEnumerable and IQueryable?
Difficulty: hard
Q23.
What are extension methods?
Difficulty: medium
Q24.
What are anonymous types in C#?
Difficulty: easy
Q25.
What are lambda expressions?
Difficulty: medium
Q26.
What is async and await in C#?
Difficulty: medium
Q27.
What is Task in asynchronous programming?
Difficulty: medium
Q28.
What is dependency injection in .NET?
Difficulty: medium
Q29.
What are the service lifetimes in Dependency Injection?
Difficulty: medium
Q30.
What is ASP.NET Core?
Difficulty: easy
Q31.
Explain the request pipeline in ASP.NET Core.
Difficulty: hard
Q32.
What is middleware in ASP.NET Core?
Difficulty: medium
Q33.
How do you create a REST API in ASP.NET Core?
Difficulty: medium
Q34.
What is model binding in ASP.NET Core?
Difficulty: medium
Q35.
What is routing in ASP.NET Core?
Difficulty: easy
Q36.
What is authentication in ASP.NET Core?
Difficulty: medium
Q37.
What is authorization in ASP.NET Core?
Difficulty: medium
Q38.
How do you implement JWT authentication in ASP.NET Core?
Difficulty: hard
Q39.
What is Entity Framework Core?
Difficulty: easy
Q40.
What is DbContext in Entity Framework Core?
Difficulty: medium
Q41.
What are migrations in EF Core?
Difficulty: medium
Q42.
What is Code First approach in Entity Framework?
Difficulty: medium
Q43.
What is Database First approach in Entity Framework?
Difficulty: medium
Q44.
What is Lazy Loading and Eager Loading?
Difficulty: hard
Q45.
How do you handle transactions in EF Core?
Difficulty: hard
Q46.
What is Repository Pattern?
Difficulty: medium
Q47.
What is Unit of Work Pattern?
Difficulty: hard
Q48.
How do you log errors in ASP.NET Core?
Difficulty: medium
Q49.
How do you secure sensitive configuration values in .NET applications?
Difficulty: hard
Q50.
How do you deploy an ASP.NET Core application?
Difficulty: medium