·  C# – Syntax – Conditional Statements – goto

 

- Info:

  - This tutorial shows how to use goto conditional statements.

 

- Example:

  - Create C# Console Application Test.cs.

 

    Test.cs

    using System;

   

    class Test {

   

      static void Main(string[] args) {

   

        goto jump1;

        Console.Write("Skip this.");

   

      jump1:

        Console.Write("Hello.");

       

      }

   

    }