Skip to content

Assert.AreNotSame

jnm2 edited this page Jun 14, 2017 · 5 revisions

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...

Clone this wiki locally