Dependency Injection C# Example| Brief Introduction To Dependency Injection | Constructor Dependency Injection
Hello & As-salam u alikum ! , In this article we will learn about the most important and the confusing topic for the new developers and the topic is " Dependency Injection In C# " What is Dependency Injection ? It is a software design pattern that allows us to develop such application code which contain loosely coupled code.As a developer we only focus on developing features that result the correct desired output, but many of us do not think about future. If we need to make changes in future in our application code, our application can get crashed if we did not follow any design pattern at the time of developing application code . see the below example to understand with a humor. The above picture represents your application when you didn't follow any design pattern while developing application . any small change can crash or destroyed your product so we need to follow design patterns to make our code loosely coupled. Dependen...
Comments
Post a Comment
Do not Add Spam links in the Comment Box