C# Equality and Comparisons

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 info
Rating
(507)
Level
Intermediate
Updated
September 10, 2014
Duration
4h 51m
Table of contents
Description
Course info
Rating
(507)
Level
Intermediate
Updated
September 10, 2014
Duration
4h 51m
Description

In this course, you'll learn how to use equality and comparisons correctly in your C# code: both how they work out of the box, and how to implement equality and comparisons for your own types. The course also covers working with inheritance, string comparisons, writing custom comparers and equality comparers, hash codes, and structural comparisons.

About the author
About the author

Simon is a senior developer with over 20 years programming experience, particularly covering C++ and the .NET Framework. He believes knowledge is to be shared and has written or co-written more than a dozen books for professional programmers.

More from the author
C# Concurrent Collections
Advanced
3h 32m
15 May 2015
C# Collections Fundamentals
Intermediate
5h 56m
8 Apr 2014
Math For Programmers
Intermediate
5h 16m
26 Aug 2013