Delegate is a type that represents references to methods (pointer to methods). It allows methods to be passed as parameters, stored as variables, and invoked indirectly. Delegates are a powerful feature of languages like C# and are often used in event handling, callbacks, and implementing various design patterns.
A program (application like MS Word) when running, it’s loaded into memory and become a Process. Thread is simplest execution unit of process, process can have multiple Thread, ex: MS Word is a process, there have a thread to check gramma, thread to input user typing.
The Repository Pattern is a design pattern commonly used in software development to abstract the access to data storage, such as databases or external services. It acts as a mediator between the application’s business logic and the data source, providing a way to access and manipulate data without exposing the underlying details of how the data is stored.