2) không dùng if else để gắn 1 giá trị là

if ( bien-a = true )

bien-b=false

else

bien-b = true

=== > bien-b = not bien-a

1-And hay Or

ElseIf Not String.IsNullOrWhiteSpace(c.CommunityZip) AndAlso Not Regex.IsMatch(c.CommunityZip, "^[0-9]{5}$") Then
    c.Message = "Zip code must be 5 numeric digits."
    tm.Sticky = True
    tm.ToastType = "error"
ElseIf Pipeline.Core.SystemSettings.IsInstalled("BuildProIntegration") OrElse Not Regex.IsMatch(c.CommunityZip, "^[0-9]{5}$") Then
    c.Message = "Zip code must be 5 numeric digits."
    tm.Sticky = True
    tm.ToastType = "error"