.NET Interview Questions:
.NET Interview Questions:
-
Encapsulation
-
What is encapsulation, and how is it implemented in object-oriented programming?
-
How can private data members be accessed in the context of encapsulation?
-
-
Polymorphism
-
What are the different types of polymorphism?
-
Can you explain real-time use cases of polymorphism?
-
-
Constructor
-
What is a constructor, and what are its different types?
-
-
Static Keyword
-
What is the use of the
statickeyword in C#/.NET?
-
-
HTTP Methods
-
What is the difference between HTTP GET and PUT methods?
-
-
SQL Operations
-
What is the difference between
TRUNCATEandDELETEin SQL? -
What is a
ROLLBACKin SQL, and when is it used?
-
-
Filters
-
What are filters in ASP.NET MVC/Core, and how do they work?
-
-
Routing
-
How does routing work in ASP.NET MVC/Core?
-
-
Authentication and Authorization
-
What is the difference between authentication and authorization?
-
How are authentication and authorization implemented in .NET?
-
-
SQL Keywords
-
What is the use of the
DENSE_RANKkeyword in SQL?
-
ReadOnly and Sealed
-
What is the difference between
readonlyandsealedin C#?
-
Triggers
-
What are SQL triggers, and when should they be used?
-
.NET Framework vs .NET Core
-
What are the key differences between .NET Framework and .NET Core?
-
ViewData, TempData, ViewBag
-
What is the difference between
ViewData,TempData, andViewBagin ASP.NET MVC?
-
Boxing and Unboxing
-
What is boxing and unboxing in C#, and why is it important?
-
Indexing
-
What is indexing in SQL or C#, and how does it improve performance?
.NET Interview Questions
-
Extension Methods
-
What are extension methods in C#, and how are they used?
-
-
IQueryable vs IEnumerable
-
What is the difference between
IQueryableandIEnumerable?
-
-
Access Modifiers
-
What are access modifiers in C#, and how do they control access to members?
-
-
Method Overloading & Overriding
-
What is the difference between method overloading and method overriding?
-
Can you provide real-time examples of both?
-
-
Authentication & Authorization Mechanism
-
How do you implement authentication and authorization mechanisms in a .NET application?
-
-
Singleton Pattern
-
How do you create a singleton pattern in C#?
-
-
Yield Keyword
-
What is the
yieldkeyword in C#, and how does it work?
-
-
Sealed and ReadOnly
-
What is the purpose of the
sealedandreadonlykeywords in C#, and how do they differ?
-
Comments
Post a Comment