What are the design principles used in .NET?

.Net uses the SOLID design principle which includes the following: Single responsibility principle (SRP) Open-Closed Principle (OCP) Liskov substitution principle (LSP) Interface segregation principle (ISP) Dependency inversion principle (DIP) In .NET development, several design principles are employed to ensure the creation of robust, scalable, and maintainable software solutions. Some of the key design principles used … Read more

Name design patterns in the .NET Framework.

There are 23 design patterns classified into 3 categories: 1. Creational Design Pattern i. Factory Method ii. Abstract Factory iii. Builder iv. Prototype v. Singleton 2. Structural Design Patterns i. Adapter ii. Bridge iii. Composite iv. Decorator v. Façade vi. Flyweight vii. Proxy 3. Behavioral Design Patterns i. Chain of Responsibility ii. Command iii. Interpreter … Read more

What is a Hashtable?

The Hashtable class is a collection that stores key-value pairs. It organizes the pairs based on the hash code of each key and uses it to access elements in the collection. In a .NET interview, if you’re asked about a Hashtable, you could provide the following answer: A Hashtable in .NET is a data structure … Read more

What is MIME?

MIME stands for Multipurpose Internet Mail Extension. It is an add-on or a supplementary protocol which allows non-ASCII data to be sent through SMTP. It facilitates the exchange of data files on the internet and was proposed by Bell Communications in 1991. In the context of .NET and web development, MIME stands for Multipurpose Internet … Read more

What are globalization and localization?

Globalization is designing and coding culture-neutral and language-neutral applications. Localization is customizing the application and translating the UI based on specific cultures and regions. In the context of .NET development, globalization and localization refer to two essential concepts for creating applications that can be used by people from different cultural and linguistic backgrounds: Globalization: Globalization … Read more