Almost every article or lecture about generics touches on collections and shows how to build a Stack<T>. Collections and stack building are an obvious choice, but generics have many other uses.
Manipulating data is central to almost everything you do as a developer. You know the routine: Pull the data from a database, store it in a Dataset, and display it to the user. Often, the application ...
After anxiously awaiting the release of .NET 2.0, I finally get to use it here at work. My first task is updating some of the old code to use generics instead of the old tricks I used to have ...
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 ...
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 ...
Take advantage of the SortedDictionary, SortedList, and SortedSet classes in C# to store key-value pairs and sort them based on keys. SortedDictionary, SortedList, and SortedSet are collection classes ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results