Исходный код вики Struct
Версия 1.4 от Alexandr Fokin на 2022/11/26 23:04
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | |(% style="width:344px" %)Сравнение структур в коллекциях без упаковки.|(% style="width:1149px" %){{code language="c#"}}//Коллекции использует провайдер сравнения | ||
| 2 | System.Collections.Generic.EqualityComparer<T>.Default | ||
| 3 | |||
| 4 | // Реализация данного интерфейса, позволяет сравнивать сущности без приведения к Object | ||
| 5 | System.IEquatable<TStruct>{{/code}} | ||
| 6 | |(% style="width:344px" %)ref return|(% style="width:1149px" %)((( | ||
| 7 | ref locals и ref returns в C#: подводные камни производительности | ||
| 8 | [[https:~~/~~/habr.com/ru/company/microsoft/blog/423061/>>https://habr.com/ru/company/microsoft/blog/423061/]] | ||
| 9 | |||
| 10 | Struct и readonly: как избежать падения производительности | ||
| 11 | [[https:~~/~~/habr.com/ru/company/microsoft/blog/423053/>>https://habr.com/ru/company/microsoft/blog/423053/]] | ||
| 12 | ))) | ||
| 13 | |(% style="width:344px" %)stack only struct | ||
| 14 | (ref struct)|(% style="width:1149px" %)ref типы структур (справочник по C#) | ||
| 15 | [[https:~~/~~/learn.microsoft.com/ru-ru/dotnet/csharp/language-reference/builtin-types/ref-struct>>https://learn.microsoft.com/ru-ru/dotnet/csharp/language-reference/builtin-types/ref-struct]] | ||
| 16 | \\Disposable ref structs в C# 8.0 | ||
| 17 | [[https:~~/~~/habr.com/ru/company/clrium/blog/447014/>>https://habr.com/ru/company/clrium/blog/447014/]] |