Assert.AreEqual Method (String, String, Boolean, CultureInfo)
Visual Studio 2008
Verifies that two specified strings are equal, ignoring case or not as specified, and using the culture info specified. The assertion fails if they are not equal.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
public static void AreEqual( string expected, string actual, bool ignoreCase, CultureInfo culture )
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.