Difference between == and .Equals() Method in C# | Learn N Njoy…



Want to Learn about the difference between the equality operator == and .Equals() Method in C#? Today I am sharing exactly the main difference between the equality operator == and .Equals() Method in C#.
Kindly subscribe to my channel Learn N Njoy…: https://bit.ly/3GPQety

In this video, We’ll see
equality operator == and .Equals() Method In C#
– Null handling with == operator
.Equals() method throws NullReferenceException while comparing null values.

If you found this video helpful don’t forget to hit the Like button…!
If you wish to join us for future learning, do Subscribe to this channel and hit the Bell icon to get the future video notifications!

My other videos:
C# this Keyword Usages You Should Know…https://bit.ly/3TRdKwC
C# Looping / Iteration Statements You Must Know…https://bit.ly/3U4Noa8
checked Vs unchecked In C# You Should Know… https://bit.ly/3FyP9IK
C# params keyword You Should Know…https://bit.ly/3sKgSi6
DateOnly and TimeOnly in C# 10 You Should Know…:https://bit.ly/3UVWvLx
Discards ( _ ) Placeholder Variables In C# 7.0 You Should Know…:https://bit.ly/3dXdaOp
Coding Standards In C# You Must Know…: https://bit.ly/3DSQ2LB
JSON Serialization Technologies In C#.NET: https://bit.ly/3dIUYba
3 Main Serialization Technologies In C#.NET(Part #3): https://bit.ly/3DhjhqP
3 Main Serialization Technologies In C# .NET (Part #2)| XML Serialization : https://bit.ly/3KuAdfq
3 Main Serialization Technologies In C# .NET (Part #1)| Data Contract Serialization : https://bit.ly/3KoJqWx
record struct In C# 10 You Must Know…: https://bit.ly/3QJXawK
Record Type Vs Class In C# You Should Know: https://bit.ly/3QJXawK
using Directive Vs using Statement Vs using Declaration In C# :https://bit.ly/3BqFEtb
Index ^ and Range .. Operators In C# 8.0 You Should Know..: https://bit.ly/3zIT0Qi
Target-typed new Expressions In C# 9.0 You Should Know…: https://bit.ly/3zc9CPX
Local Functions In C# You Should Know…: https://bit.ly/3Pvzs71
How to Add Comments In C#?:https://bit.ly/3OYJH3h
Enums In C#: How To Define and Access Enums ?: https://bit.ly/3P2hDvQ
The Evolvement of C# Properties: https://bit.ly/3IcuWYL
Default Interface Methods in C# 8.0 onwards…: https://bit.ly/3xnj2Gr
A New Way Of Null Parameter Checking in C# 11: https://bit.ly/39hOT3g
Amazing List Patterns and Slice Patterns in C#11: https://bit.ly/38WRZcH
Newline In string Interpolation Expression In C#11 : https://bit.ly/3wVUHXV
Awesome improvement in string literals in C#11 – Raw string Literals:
https://bit.ly/3GsgvyG
is Vs as in C#: What’s the Difference? https://bit.ly/3P5JOuT
C# Type Casting vs Conversion vs Parsing – https://bit.ly/3vSzyNT
Access Modifiers in C# : https://bit.ly/3KsJPFz
How to Interpolate Strings in C#? : https://bit.ly/3KQrJyz
C# Caller Information Attributes You Should Know: https://bit.ly/36oIZfg
Value Types Vs Reference Types in C#: https://bit.ly/3KseJ1G
Async and Await in C# You Must know | For CPU-bound Vs I/O-bound need : https://bit.ly/3tGk3IX
Reflection in C# you should know: https://bit.ly/386YkBB
Query Expressions in C# you should know: https://bit.ly/3KCEBYv
Multicast Delegate in C# and How to create and use it in a program ?: https://bit.ly/3tBwOD9
Built-in Generic Type Delegates in C# (Func Vs Action Vs Predicate Delegates) : https://bit.ly/3hJXITT
Delegates in C# with a Real-Time Example, How to Define & Implement it in a Program? : https://bit.ly/3BgAhe2
6 Special Operators in C# you should know ( ? , ?? , ??= , ?. , ?: , ::) : https://bit.ly/3LzqYdJ
C# 10 Top 5 New Features: https://bit.ly/3HPUucT
Extension Methods in C# – How to create and Implement it in a program? : https://bit.ly/33JV911
Tuple Vs ValueTuple in C# – How to Use them ? : https://bit.ly/3AtOofE

GEAR USED:
INVISIBLE BED Sturdy Portable Laptop Table : https://amzn.to/3LOVLTq

#LearnNNjoyTrippleDot Learn N Njoy…

Comments are closed.