About 2,320,000 results
Open links in new tab
  1. If...Then...Else Statement - Visual Basic | Microsoft Learn

    Sep 15, 2021 · If... Then... Else statements can be nested within each other. In the multiline syntax, the If statement must be the only statement on the first line. The ElseIf, Else, and End If statements can …

  2. VB.NET - If, ElseIf, Else Examples - Dot Net Perls

    Jun 20, 2024 · In an If -statement, multiple expressions are short -circuited. We use And, Or, AndAlso and OrElse to evaluate conditions. With an End we close our block. An If -statement uses the If …

  3. Visual Basic If-Else-If Statement - Tutlane

    In Visual Basic, the If-Else-If statement or condition is useful for defining the multiple conditions and executing only the matched condition based on our requirements.

  4. VB.Net - If...Then...Else Statement - Online Tutorials Library

    An If statement can be followed by an optional Else statement, which executes when the Boolean expression is false.

  5. If Then Else Statement In Visual Basic - TechBloat

    Jan 20, 2025 · This article aims to explore the intricacies of the If Then Else statement in Visual Basic, providing an in-depth understanding of how it works, its syntax, variations, practical examples, and …

  6. If Else in Visual Basic .NET | Learn X By Example

    Note that in Visual Basic .NET, you don’t need parentheses around conditions, but the Then keyword is required. Also, ElseIf is used instead of Else If for multiple conditions.

  7. Visual Basic If Statement - the coding guys

    In this tutorial you will learn how to use the Visual Basic if else statement, and also learn about nested if else, and if else operators.

  8. Lesson 13: Mastering If..Then..Else in VB2022 - Visual Basic Tutorial

    Jun 17, 2023 · Mastering If..Then..Else structures allows you to create applications that respond intelligently to different conditions and user inputs. Welcome to Lesson 13 of our Visual Basic 2022 …

  9. #If...Then...#Else Directives - Visual Basic | Microsoft Learn

    Sep 15, 2021 · On the surface, the behavior of the #If...Then...#Else directives appears the same as that of the If...Then...Else statements. However, the #If...Then...#Else directives evaluate what is …

  10. If Operator - Visual Basic | Microsoft Learn

    Sep 15, 2021 · Uses short-circuit evaluation to conditionally return one of two values. The If operator can be called with three arguments or with two arguments. When If is called by using three arguments, …