MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.

I'm not curious

C# Equality and Comparisons

Course Summary

This course teaches you how equality and comparisons function in .NET and the correct way to implement equality and comparisons for your own types.

  • +

    Course Syllabus

    Why Is Equality So Hard?
    - 28m 10s

    —Welcome and Course Overview 3m 58s
    —Aims of This Course 1m 53s
    —So Why Is Equality Hard? 1m 49s
    —Reference vs. Value Equality 3m 38s
    —Equality, Value Types, and Boxing 3m 13s
    —Multiple Ways to Compare Values 3m 38s
    —'Natural' vs. 'Plugged-In' Equality 2m 49s
    —Equality for Floating Points 2m 57s
    —The Equality/OOP/Type-Safety Conflict 2m 56s
    —Summary 1m 16s
    Equality in .NET
    - 27m 22s

    —Overview 1m 28s
    —The Virtual Object.Equals() Method 5m 0s
    —Equals() for Strings 2m 31s
    —Equals() for Value Types 3m 36s
    —Object.Equals() - Review 1m 31s
    —The Static Equals() Method 3m 28s
    —The ReferenceEquals() Method 1m 29s
    —Introducing IEquatable<T> 3m 6s
    —IEquatable<int> Demo 1m 50s
    —IEquatable<T>, Strings and Reference Types 1m 44s
    —Summary 1m 33s
    The C# Equality Operator
    - 31m 1s
    Implementing Equality for Value Types
    - 16m 53s
    Implementing Equality for Reference Types
    - 34m 39s
    Comparisons in .NET
    - 31m 36s
    Equality and Comparisons for Strings
    - 37m 6s
    Comparers and Equality Comparers
    - 42m 12s
    Hash Codes and Hashtables
    - 25m 46s
    Structural Equality and Comparisons
    - 16m 27s

Course Fee:
USD 29

Course Type:


Course Status:



1 - 4 hours / week

This course is listed under Development & Implementations and Quality Assurance & Testing Community

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url