
Learn how to implement equality for reference types in C# to compare objects based on their values rather than their references. Understand the complexities introduced by inheritance and null handling. Explore the process of overriding the Equals method, implementing GetHashCode.

In this post, we will create our very first console application in .NET Core, and we will see how we can build .NET Core based applications without using any IDE or Visual Studio.

This post is to focus on implementing Equality in Value Types; i.e., overriding Equality behavior for our own implemented Value Types which is basically defining how to decide two object of a type are equal or not.

AJAX CRUD Operation With jQuery DataTables In ASP.NET MVC 5 For Beginners.

Equality Operator (==) With Inheritance And Generics In C#.

In this article, you will learn about Grid View with Server Side Advanced Search using jQuery DataTables in ASP.NET MVC 5.

In this article, you will learn about Equality Operator (==) behavior for non-primitive value types.


In this article, you will learn how equality operator works behind the scene when comparing reference types

In this article, you will learn about Grid View with Server side Filtering, Sorting, and Paging in ASP.NET MVC 5.

In this post, we will be seeing how we can create a GridView in ASP.NET MVC, just like we have in ASP.NET web form.

In this article, you will learn how equality operator (==) operates on Primitive types in C#

In this article, you will learn about IEquatable<T> interface and Equality in C#

In the Object class of C#, the Equals method can be overridden, creating virtual and static versions. Virtual Equals compares content, static compares references, while Reference. Equals provide reference equality. Understanding these aids in effective object comparison and customization.

This content outlines the complexities of equality and comparison in .NET, diving into topics like reference vs. value equality, the role of interfaces, and issues with floating-point arithmetic. It explores various scenarios, methods, and interfaces, shedding light on common pitfalls and best practices.

In this article, you will learn about the difference between Shadowing and Overriding in OOP using C# Programming example.

In this article you will learn how to write Code Refactoring Extensions in Visual Studio 2015.

In this article you will learn about Image ActionLink HTML Helper in ASP.NET MVC.

In this article you will learn how we can inject WCF service dependency in the controller in ASP.NET MVC.


In this article you will learn how to register Custom Directories for Views in ASP.NET MVC.

In this article you will learn how to check if Username/Email already registered using Remote Validation Attribute in ASP.NET MVC.

Learn how C# passes value types and reference types by value, and how the ref keyword enables pass-by-reference behavior with code examples.

In this article, you will learn how to bind Enum to DropDownList in ASP.NET MVC.

Mapping a ViewModel to a Model in C# using an implicit conversion operator is a technique used to simplify the process of transferring data between these two related classes. ViewModels are typically used in the presentation layer to represent the data that will be displayed to users, while Models represent the underlying data structure and are often used for database interactions. By using implicit conversion operators, you can streamline the mapping process and improve the maintainability of your code.
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article