METHOD
MSTest Assert.AreEqual
Checks equality in an MSTest assertion.
Formal Syntax & Structure
csharp syntaxcsharp
Assert.AreEqual(expected, actual);Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Assert.AreEqual(expected, actual);