Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

C# 5 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.

Intermediate
4h 51m
(641)

Created by Simon Robinson

Last Updated Jun 07, 2022

Course Thumbnail
  • Course

C# 5 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.

Intermediate
4h 51m
(641)

Created by Simon Robinson

Last Updated Jun 07, 2022

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

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.

C# 5 Equality and Comparisons
Intermediate
4h 51m
(641)
Table of contents

About the author
Simon Robinson - Pluralsight course - C# 5 Equality and Comparisons
Simon Robinson
11 courses 4.7 author rating 3763 ratings

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.

Get started with Pluralsight