ReferenceEquals is a method in C# used to compare references of object types. By default this is the way objects are compared in most OOP programming languages.