https://learn.microsoft.com/en-us/dotnet/api/system.collections.objectmodel.keyedcollection-2.comparer?view=netframework-4.8.1
KeyedCollectionTKey,TItem.Comparer Property (System.Collections.ObjectModel) | Microsoft Learn
Gets the generic equality comparer that is used to determine equality of keys in the collection.
property systemcomparercollectionsmicrosoftlearn
https://learn.microsoft.com/en-us/dotnet/api/system.collections.objectmodel.keyedcollection-2.getkeyforitem?view=net-10.0
KeyedCollectionTKey,TItem.GetKeyForItem(TItem) Method (System.Collections.ObjectModel) |...
When implemented in a derived class, extracts the key from the specified element.
methodsystemcollections