Mono Blog

Net-core

  • Published on
    In C#, types like List<T> (and others such as ImmutableList<T>) include a convenient ForEach method. It can be seen as a more functional-style alternative to the traditional foreach loop. For example:
  • Published on

    .NET 8 Dependency Injection

    .NET.NET-CoreC#Dependency-Injection
    Dependency Injection (DI) is a design pattern used to decouple dependencies between components (services). It achieves this by delegating the creation and management of dependencies to an external...