SafeEquals Method (NSystem)
Safely calls the Equals method on obj1, by passing obj2 as argument. If both obj1 and obj2 are null, returns true. If either obj1 or obj2 is null, returns false. In all other cases returns the result of the obj1.Equals(obj2) method call.
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)