Assert.AreNotSame - jnm2/nunit-docs-wiki GitHub Wiki

Assert.AreNotSame tests that the two arguments do not reference the same object.

Assert.AreNotSame(object expected, object actual);
Assert.AreNotSame(object expected, object actual,
                  string message, params object[] parms);

See also...

⚠️ **GitHub.com Fallback** ⚠️