Facade Pattern
Facade Pattern

Façade Pattern The word Façade in general context indicates the exterior of the building hiding the interior complexity. In the similar fashion it is used to hide the complexity of interactions across multiple classes by providing an outer façade which interacts with these classes.  Client calls Façade which handles the complex interactions instead of client... » read more

Adapter Pattern
Adapter Pattern

Adapter pattern is a structural design pattern which is used for making two interfaces compatible which otherwise were incompatible. It is commonly referred to as wrapper pattern. This can be best explained by considering a simple 1-1 adapter. Below is an adapter which has provision for two wire input and converts it to a 3-output... » read more

Dependency Injection
Dependency Injection

Dependency Inversion is the all-encompassing principle. Its states that dependencies need to be inverted. Dependency Injection is the specific act of inverting dependencies. Constructor Injection is when you are performing dependency injection through constructor of an object. Parameter Injection is when you perform dependency injection through parameter of any function of an object. Dependency Injection... » read more

Threads
Threads

In this post I am going to talk about Threads in C# and different methods to interact with them. Threads are lower level of abstraction than tasks. A task object represents an item of work to be performed where as thread object represents a process running within an operating system. Threads and Tasks Creation of... » read more

Tasks
Tasks

In this post I am going to talk about creating a task and various method of task library which interacts with task execution in C# Create a task Creating a task is done by providing the method of work to the lambda expression. Start method starts the task and wait method waits for the task... » read more