Even if you're not working in the Microsoft .NET Framework 4.5, .NET provides you with a way to create a read-only collection or to convert an existing List into a read-only collection. I had a client ...
The FrozenSet and FrozenDictionary classes introduced in .NET 8 are immutable collections optimized for fast look-ups. Here’s how to take advantage of them. Developers often grapple with the available ...
Take advantage of read-only generic interfaces such as IReadOnlyList, IReadOnlyDictionary, and IReadOnlyCollection to prevent modifications to collections in your .NET Core applications. A collection ...
Collections provide a way to store arbitrary objects in a structured fashion, and we all know how useful they are in everyday programming. The .NET class library offers an embarrassment of collection ...
Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with content, and download exclusive resources. Birgitta Böckeler, Distinguished Engineer at ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
The BCL collection classes are laughable at best, and multi-thread support is virtually non-existent Is anyone aware of thread safe collection librarys, a la java.util.concurrent, that targets the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results