Imagine a soft drinks manufacturing company that typically bottles the drink and sells it in the market. Even though the final product of this company is a soft drink, the process of manufacturing can be divided into two subprocesses. One where the bottles are getting manufactured and another where the drinks are getting manufactured. When both these products are ready, the drink is filled in the bottle, sealed, and packed.

If you notice here, the manufacturing of the bottles and drink were not interdependent. Both the manufacturing processes were happening in parallel in such a way that neither the drink nor the bottle had to wait for the completion of the other product.

#csharp #programming #asynchronous-programming

Asynchronous programming in C-Sharp
1.35 GEEK