filmov
tv
Here Is When HashSet & Dictionary Call GetHashCode and Equals

Показать описание
In this video, we will inspect behavior of the HashSet generic type in C# and investigate in which moments it is using the result of GetHashCode, and in which the result of calling the Equals method on objects added to the data structure.
We will clarify that hash code of an object is used to determine the location in the data structure where to store the object, or where to search for it on request. Contrary to that, the Equals method is only invoked after a colliding hash code is discovered.
We will repeat the same experiment with the Dictionary generic class, coming to the same conclusions.
Learn more from video courses:
Other videos on this channel you may be interested in watching:
Here Is When HashSet & Dictionary Call GetHashCode and Equals
Here Is Why HashSet Is So Fast in .NET
C# Hashsets - Understand them, use them, LOVE them
Set and HashSet in Java - Full Tutorial
HashSet In Java Tutorial #52
How is a HashSet working? - Cracking the Java Coding Interview
Java Interview Shorts 5 - HashSet Vs LinkedHashSet Vs TreeSet | Java Collection #javainterview
Java Interview Question | Difference Between ArrayList & HashSet
DSA In Java || 🎯 Introduction to Collections Framework | Live | Coders Arcade || Coders Arcade
Are You Using Java HashSet WRONG ? Here's What You Need to Know
What is a LinkedHashSet? - Cracking the Java Coding Interview
# 112 Internal Working of HashSet in Java | How HashSet works internally in java | Java | RedSysTech
Rust HashMap and HashSet Collection Types 🦀
C# Equality and Hashcodes
Overriding equals and hashCode in Java - 039
Java hashset tutorial with examples
HashSet vs HashMap
Java Tutorial For Beginners 35 - HashSet in Java
Map and HashMap in Java - Full Tutorial
Use Maps more and Objects less
stop using for loops RIGHT NOW!!
Redis Hashes Explained
Hash Tables: Hash Functions, Sets, & Maps - DSA Course in Python Lecture 4
What are the different types of collections in dotNet? DotNet Interview Question 26 of 100:
Комментарии