I am just starting with Unity. I'm still wondering what are its benefits.
UnityContainer().Resolve<T>()which can return a specific instance of the type registered for the type type T.
I can also use Activator.CreateInstance<T>().
Activator is a built-in class in the .NET Framework, so I wonder what feature of Unity is?
source
share