https://learn.microsoft.com/es-es/dotnet/api/system.collections.sortedlist.setbyindex?view=netframework-4.8.1&viewFallbackFrom=net-10.0
SortedList.SetByIndex(Int32, Object) Method (System.Collections) | Microsoft Learn
Replaces the value at a specific index in a SortedList object.
objectmethodsystemcollectionsmicrosoft