Govt. Exams
Entrance Exams
Interfaces in C# define a set of method and property declarations that implementing classes must provide, establishing a contract without implementation details.
The four pillars of OOP are Inheritance, Polymorphism, Encapsulation, and Abstraction. Compilation is a language feature, not an OOP principle.
C# uses colon (:) to implement interfaces, and multiple interfaces are separated by commas. The 'implements' keyword is used in Java, not C#.
The 'abstract' keyword prevents instantiation of a class and forces derived classes to implement abstract members, establishing a contract for subclasses.
Encapsulation bundles data and methods together, hiding internal implementation and controlling access through public interfaces, improving maintainability and security.
MVC (Model-View-Controller) is an architectural pattern separating data (Model), presentation (View), and business logic (Controller).
appsettings.json stores application configuration like connection strings, logging levels, and custom settings.
CLR (Common Language Runtime) is the virtual machine that executes .NET code, managing memory, security, and type safety.
ASP.NET Core 8.0 is the latest unified platform as of 2024-2025, replacing the older ASP.NET Framework.
ASP.NET is a server-side web application framework developed by Microsoft for building dynamic, interactive web applications.