Category: C#

C# Compiler Error – CS8912 inheriting from a record with a sealed ‘

In this blog post, you’ll learn more about the C# Compiler Error – CS8912 and the related message description C# Compiler Error Code CS8912 C# Compiler Description for the Code :CS8912 Inheriting from a record with a sealed ‘Object.ToString’ is not supported in C# {0}. Please use language version ‘{1}’ or greater.

How to find if 2 Objects are Equal in C#?

There are times when you need to determine if 2 objects are equal or not. In these cases, you could either override the Equals method or implement IEquatable interface. How to find if 2 Objects are Equal in C#? Below is a sample code snippet demonstrating the usage of Object.Equals method to find the equality of 2 objects.

C# Compiler Error – CS1935 could not find an implementation of the

In this blog post, you’ll learn more about the C# Compiler Error – CS1935 and the related message description C# Compiler Error Code CS1935 C# Compiler Description for the Code :CS1935 Could not find an implementation of the query pattern for source type ‘{0}’. ‘{1}’ not found. Are you missing required assembly references or a using directive for ‘System.Linq’?