Dim result As String = If("pants" = "glasses", "passed", "failed") ' type is inferred