Collection Performance: Creating New Immutable Collection From a Collection

Immutable collections, which are collections that cannot be changed, was introduced in .NET 4.5 and are supported in .NET Core and beyond. There are immutable collections that mirror many of the generic collections in .NET. This article shows performance results from creating these lists using for() and AddRange().

Collection Performance: Creating new collection From a collection Using AddRange()

Its common in programming to create a collection from a collection. Usually there is some business logic applied to the items before they are put into the new collection. This article will focus on doing that by using AddRange() from LINQ.