Перейти к содержимому

Understanding Equality in C# - Equals(), ReferenceEquals(), and ==

IAmTimCorey

0:00 / 0:00

Understanding Equality in C# - Equals(), ReferenceEquals(), and ==

5 151 просмотр · 18 часов назад
IAmTimCorey
442 тыс. подписчиков
5 151 просмотр · 18 часов назад
There are two common ways to compare items in C#. You can use the double equals or the Equals method. But what is the difference? In this video, we are going to look at both of these plus the ReferenceEquals method to figure out how each works and then why we have different ones. We will also look at why using the double equals can be dangerous. Full Training Courses: https://IAmTimCorey.com Source Code: https://www.iamtimcorey.com/downloads...