diff --git a/snippets/csharp/VS_Snippets_CLR/RegularExpressions.Examples.Email/cs/example4.cs b/snippets/csharp/VS_Snippets_CLR/RegularExpressions.Examples.Email/cs/example4.cs index 4fc15b99644..96d960c3f5d 100644 --- a/snippets/csharp/VS_Snippets_CLR/RegularExpressions.Examples.Email/cs/example4.cs +++ b/snippets/csharp/VS_Snippets_CLR/RegularExpressions.Examples.Email/cs/example4.cs @@ -7,7 +7,7 @@ public class RegexUtilities { public static bool IsValidEmail(string email) { - if (string.IsNullOrWhitespace(email)) + if (string.IsNullOrWhiteSpace(email)) return false; try