What is Dependency of Injection?



What is Dependency of Injection?..

Answer / Aman Kumar Mishra

"Dependency Injection is a design pattern in software engineering that allows for the decoupling of dependencies between classes. Instead of having classes create their own dependencies, you inject them from an external source such as a container or service locator."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How can we give strong name to assembly? What is satellite assembly?

2 Answers   SMNetserv,


What is lock in c#?

1 Answers  


What is the advantage of singleton class?

1 Answers  


Why do we use interfaces in c#?

1 Answers  


Explain code compilation in c#.

1 Answers  


Difference between abstract classes and interfaces

1 Answers  


what is the purpose of interface in c#.net

6 Answers  


what is the lifespan of the items stored in viewstate ?

4 Answers  


What are properties in C#?

1 Answers   UGC Corporation,


What is as keyword in c#?

1 Answers  


what is garbage collection?

8 Answers   Protech,


What is string interpolation in c#?

1 Answers  


Categories