Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

Featured creators

Creators on the SpiderTaz Network

Become a creator →

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

IAmTimCorey Video 1 months ago

Description

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/?code=understanding-equality