The Real Difference Between Add, TryAdd, and TryAddEnumerable in .NET
A lot of developers think DI registration is simple: services.AddScoped<IMyService, MyService>(); Done. Until someone registers the same interface twice. Or a NuGet package adds a default implementation. Or your IEnumerable<T> Continue reading The Real Difference Between Add, TryAdd, and TryAddEnumerable in .NET
