https://docs.microsoft.com/en-us/dotnet/api/system.object.referenceequals?view=net-6.0
using System; var o1 = new Object(); var o2 = new Object(); Object.ReferenceEquals(o1, o2)
615300cookie-checkC# Check if variables refer to the same instance / memory address