Our great sponsors
-
ASP.NET Core
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
referencesource
Source from the Microsoft .NET Reference Source that represent a subset of the .NET Framework
-
CoreCLR
Discontinued CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes.
https://github.com/moq/moq4#features-at-a-glance
So what you are saying is that companies such as Microsoft have no idea what they are doing? Have you ever looked at their open source repos, such as https://github.com/dotnet/aspnetcore/tree/main/src ? Almost every class implements an interface, otherwise you're not going to unit test it properly.
Hmm not exactly. Maybe there's a specific example you're thinking of. Since you mentioned it, IEnumerable has no type constraints. Interfaces aren't part of the picture here.
Docs