Исходный код вики Упаковка | Boxing
Редактировал(а) Alexandr Fokin 2022/11/26 23:05
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | |(% style="width:335px" %)Сравнение структур в коллекциях без упаковки.|(% style="width:1158px" %){{code language="c#"}}//Коллекции использует провайдер сравнения | ||
2 | System.Collections.Generic.EqualityComparer<T>.Default | ||
3 | |||
4 | // Реализация данного интерфейса, позволяет сравнивать сущности без приведения к Object | ||
5 | System.IEquatable<TStruct>{{/code}} | ||
6 | |(% style="width:335px" %) |(% style="width:1158px" %)Упаковка-преобразование и распаковка-преобразование (Руководство по программированию на C#) | ||
7 | [[https:~~/~~/learn.microsoft.com/ru-ru/dotnet/csharp/programming-guide/types/boxing-and-unboxing>>https://learn.microsoft.com/ru-ru/dotnet/csharp/programming-guide/types/boxing-and-unboxing]] | ||
8 | |(% style="width:335px" %) |(% style="width:1158px" %)Structs, Interfaces and Boxing [duplicate] | ||
9 | [[https:~~/~~/stackoverflow.com/questions/3032750/structs-interfaces-and-boxing>>https://stackoverflow.com/questions/3032750/structs-interfaces-and-boxing]] | ||
10 | |(% style="width:335px" %) |(% style="width:1158px" %)Is there Boxing/Unboxing when casting a struct into a generic interface? [duplicate] | ||
11 | [[https:~~/~~/stackoverflow.com/questions/5757324/is-there-boxing-unboxing-when-casting-a-struct-into-a-generic-interface>>https://stackoverflow.com/questions/5757324/is-there-boxing-unboxing-when-casting-a-struct-into-a-generic-interface]] | ||
12 | |||
13 |