ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

The Dangers of Equality in C# – Don't Make This Common Mistakes

equality in C#

c#

c# tutorial

c# advanced

c# programming

reference equality

structural equality

software architecture

software architect

software architecture patterns

c# design patterns

benchmarkdotnet

c# benchmark

c# benchmarkdotnet

reference types

value types

c# records

c# records vs class

c# course

senior software engineer

Автор: Codewrinkles

Загружено: 2022-12-22

Просмотров: 1115

Описание: Euqality in C# seems very easy and straight forward. However, if we are not aware how different types of equality are enforced by #dotnet then we might run into some big performance troubles. In this video I get very deep into this concept by investigating reference and structural equality and how those apply to classes, structs and records. I also run some nice benchmark to showcase the equality caveats in #csharp.

Join this channel to get source code access and other perks:
   / @codewrinkles  

Contents
1. Intro: 00:00
2. Reference equality: 00:46
3. Structural equality: 07:12
4. "Weird" behavior with GetHashCode(): 08:11
5. Why property order matters: 13:54
6. Heavy performance traps: 15:18
7. Benchmark setup: 16:24
8. Really bad performance!!!! 19:47
9. Refactored, still bad performance: 22:17
10. What about records? 23:57
11. Examining lowered records: 25:37
12. Conclusions: 29:56

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
The Dangers of Equality in C# – Don't Make This Common Mistakes

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]