public static void Clear(string initialValue) { using (SecureString testString = CreateSecureString(initialValue)) { AssertEquals(initialValue, testString); testString.Clear(); AssertEquals(string.Empty, testString); } }